From 570ad62875c191c6bb7809e936a64938eb0fb310 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 20 Feb 2024 12:17:25 +0000 Subject: refactor: tweak error wording remove the word nostr for consistency and as its a bit confusing --- tests/push.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/push.rs b/tests/push.rs index 6f3a593..d1ad0e6 100644 --- a/tests/push.rs +++ b/tests/push.rs @@ -208,7 +208,7 @@ mod when_branch_is_checked_out { let mut p = CliTester::new_from_dir(&test_repo.dir, ["push"]); p.expect("finding proposal root event...\r\n")?; p.expect("found proposal root event. finding commits...\r\n")?; - p.expect("Error: nostr proposal already up-to-date with local branch\r\n")?; + p.expect("Error: proposal already up-to-date with local branch\r\n")?; p.expect_end()?; for p in [51, 52, 53, 55, 56] { @@ -271,7 +271,7 @@ mod when_branch_is_checked_out { let mut p = CliTester::new_from_dir(&test_repo.dir, ["push"]); p.expect("finding proposal root event...\r\n")?; p.expect("found proposal root event. finding commits...\r\n")?; - p.expect("Error: nostr proposal is ahead of local branch\r\n")?; + p.expect("Error: proposal is ahead of local branch\r\n")?; p.expect_end()?; for p in [51, 52, 53, 55, 56] { -- cgit v1.2.3