diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-25 12:59:43 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-11-25 12:59:43 +0000 |
| commit | 1fe1b917b71f6897deaf89f5ee725614cba9b693 (patch) | |
| tree | f7b29410dc0689e9f4200f0d78e1e1d66a5b25f1 /tests/ngit_send.rs | |
| parent | b09cf3ef8bbb5d31e4c424ff28282f5029f95fb2 (diff) | |
test: fix login copy
appended 'via cli arguments' to 'logged in as fred' during login step
Diffstat (limited to 'tests/ngit_send.rs')
| -rw-r--r-- | tests/ngit_send.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ngit_send.rs b/tests/ngit_send.rs index 620146e..1d5b308 100644 --- a/tests/ngit_send.rs +++ b/tests/ngit_send.rs | |||
| @@ -145,7 +145,7 @@ fn expect_msgs_first(p: &mut CliTester, include_cover_letter: bool) -> Result<() | |||
| 145 | p.expect("fe973a8 add t4.md\r\n")?; | 145 | p.expect("fe973a8 add t4.md\r\n")?; |
| 146 | p.expect("232efb3 add t3.md\r\n")?; | 146 | p.expect("232efb3 add t3.md\r\n")?; |
| 147 | // sometimes there will be a 'searching for profile...' msg | 147 | // sometimes there will be a 'searching for profile...' msg |
| 148 | p.expect_eventually("logged in as fred\r\n")?; | 148 | p.expect_eventually("logged in as fred via cli arguments\r\n")?; |
| 149 | p.expect(format!( | 149 | p.expect(format!( |
| 150 | "posting 2 patches {} a covering letter...\r\n", | 150 | "posting 2 patches {} a covering letter...\r\n", |
| 151 | if include_cover_letter { | 151 | if include_cover_letter { |
| @@ -1215,7 +1215,7 @@ mod when_range_ommited_prompts_for_selection_defaulting_ahead_of_main { | |||
| 1215 | p.expect("fe973a8 add t4.md\r\n")?; | 1215 | p.expect("fe973a8 add t4.md\r\n")?; |
| 1216 | p.expect("232efb3 add t3.md\r\n")?; | 1216 | p.expect("232efb3 add t3.md\r\n")?; |
| 1217 | p.expect("searching for profile...\r\n")?; | 1217 | p.expect("searching for profile...\r\n")?; |
| 1218 | p.expect("logged in as fred\r\n")?; | 1218 | p.expect("logged in as fred via cli arguments\r\n")?; |
| 1219 | p.expect("posting 2 patches without a covering letter...\r\n")?; | 1219 | p.expect("posting 2 patches without a covering letter...\r\n")?; |
| 1220 | Ok(()) | 1220 | Ok(()) |
| 1221 | } | 1221 | } |
| @@ -1408,7 +1408,7 @@ mod root_proposal_specified_using_in_reply_to_with_range_of_head_2_and_cover_let | |||
| 1408 | p.expect("creating proposal from 2 commits:\r\n")?; | 1408 | p.expect("creating proposal from 2 commits:\r\n")?; |
| 1409 | p.expect("fe973a8 add t4.md\r\n")?; | 1409 | p.expect("fe973a8 add t4.md\r\n")?; |
| 1410 | p.expect("232efb3 add t3.md\r\n")?; | 1410 | p.expect("232efb3 add t3.md\r\n")?; |
| 1411 | p.expect("logged in as fred\r\n")?; | 1411 | p.expect("logged in as fred via cli arguments\r\n")?; |
| 1412 | p.expect(format!( | 1412 | p.expect(format!( |
| 1413 | "posting 2 patches {} a covering letter...\r\n", | 1413 | "posting 2 patches {} a covering letter...\r\n", |
| 1414 | if include_cover_letter { | 1414 | if include_cover_letter { |