From 89c51886afd54afd901995916909ba98e764b23e Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 22 Feb 2024 16:27:18 +0000 Subject: refactor: fix spelling ammended should read amended --- tests/list.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/list.rs') diff --git a/tests/list.rs b/tests/list.rs index 08c2e93..ff54586 100644 --- a/tests/list.rs +++ b/tests/list.rs @@ -1208,7 +1208,7 @@ mod when_main_branch_is_uptodate { } } - mod when_latest_proposal_ammended_locally { + mod when_latest_proposal_amended_locally { // other rebase scenarios should work if this test passes use super::*; async fn prep_and_run() -> Result<(GitTestRepo, GitTestRepo)> { @@ -1244,7 +1244,7 @@ mod when_main_branch_is_uptodate { "a", false, )?; - // simulating ammending the proposal + // simulating amending the proposal create_and_populate_branch( &test_repo, FEATURE_BRANCH_NAME_1, @@ -1333,7 +1333,7 @@ mod when_main_branch_is_uptodate { "a", false, )?; - // simulating ammending the proposal + // simulating amending the proposal create_and_populate_branch( &test_repo, FEATURE_BRANCH_NAME_1, @@ -1353,8 +1353,8 @@ mod when_main_branch_is_uptodate { )?; c.succeeds_with(0, true, None)?; p.expect("finding commits...\r\n")?; - p.expect("you have an ammended/rebase version the proposal that is unpublished\r\n")?; - p.expect("you have previously applied the latest version of the proposal (2 ahead 0 behind 'main') but your local proposal branch has ammended or rebased it (2 ahead 0 behind 'main')\r\n")?; + p.expect("you have an amended/rebase version the proposal that is unpublished\r\n")?; + p.expect("you have previously applied the latest version of the proposal (2 ahead 0 behind 'main') but your local proposal branch has amended or rebased it (2 ahead 0 behind 'main')\r\n")?; p.expect("to view the latest proposal but retain your changes:\r\n")?; p.expect(" 1) create a new branch off the tip commit of this one to store your changes\r\n")?; p.expect(" 2) run `ngit list` and checkout the latest published version of this proposal\r\n")?; -- cgit v1.2.3