diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/git_remote_helper.rs | 4 | ||||
| -rw-r--r-- | tests/list.rs | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/git_remote_helper.rs b/tests/git_remote_helper.rs index cce8e42..a44b141 100644 --- a/tests/git_remote_helper.rs +++ b/tests/git_remote_helper.rs | |||
| @@ -2173,7 +2173,7 @@ mod push { | |||
| 2173 | r55.events = events.clone(); | 2173 | r55.events = events.clone(); |
| 2174 | 2174 | ||
| 2175 | let before = r55.events.iter().cloned().collect::<HashSet<Event>>(); | 2175 | let before = r55.events.iter().cloned().collect::<HashSet<Event>>(); |
| 2176 | let branch_name = "prs/my-new-proposal"; | 2176 | let branch_name = "pr/my-new-proposal"; |
| 2177 | 2177 | ||
| 2178 | let cli_tester_handle = std::thread::spawn(move || -> Result<String> { | 2178 | let cli_tester_handle = std::thread::spawn(move || -> Result<String> { |
| 2179 | let mut git_repo = clone_git_repo_with_nostr_url()?; | 2179 | let mut git_repo = clone_git_repo_with_nostr_url()?; |
| @@ -2250,7 +2250,7 @@ mod push { | |||
| 2250 | .find(|t| t.as_vec()[0].eq("branch-name")) | 2250 | .find(|t| t.as_vec()[0].eq("branch-name")) |
| 2251 | .unwrap() | 2251 | .unwrap() |
| 2252 | .as_vec()[1], | 2252 | .as_vec()[1], |
| 2253 | branch_name.replace("prs/", ""), | 2253 | branch_name.replace("pr/", ""), |
| 2254 | ); | 2254 | ); |
| 2255 | 2255 | ||
| 2256 | let second_patch = new_events | 2256 | let second_patch = new_events |
diff --git a/tests/list.rs b/tests/list.rs index ce90ee4..c145fa4 100644 --- a/tests/list.rs +++ b/tests/list.rs | |||
| @@ -197,7 +197,7 @@ mod when_main_branch_is_uptodate { | |||
| 197 | )?; | 197 | )?; |
| 198 | c.succeeds_with(0, false, None)?; | 198 | c.succeeds_with(0, false, None)?; |
| 199 | p.expect(&format!( | 199 | p.expect(&format!( |
| 200 | "checked out proposal as 'prs/{}(", | 200 | "checked out proposal as 'pr/{}(", |
| 201 | FEATURE_BRANCH_NAME_1, | 201 | FEATURE_BRANCH_NAME_1, |
| 202 | ))?; | 202 | ))?; |
| 203 | p.expect_end_eventually_with(")' branch\r\n")?; | 203 | p.expect_end_eventually_with(")' branch\r\n")?; |
| @@ -319,7 +319,7 @@ mod when_main_branch_is_uptodate { | |||
| 319 | )?; | 319 | )?; |
| 320 | c.succeeds_with(0, false, Some(0))?; | 320 | c.succeeds_with(0, false, Some(0))?; |
| 321 | p.expect(&format!( | 321 | p.expect(&format!( |
| 322 | "checked out proposal as 'prs/{}(", | 322 | "checked out proposal as 'pr/{}(", |
| 323 | FEATURE_BRANCH_NAME_3, | 323 | FEATURE_BRANCH_NAME_3, |
| 324 | ))?; | 324 | ))?; |
| 325 | p.expect_end_eventually_with(")' branch\r\n")?; | 325 | p.expect_end_eventually_with(")' branch\r\n")?; |
| @@ -526,7 +526,7 @@ mod when_main_branch_is_uptodate { | |||
| 526 | )?; | 526 | )?; |
| 527 | c.succeeds_with(0, false, Some(0))?; | 527 | c.succeeds_with(0, false, Some(0))?; |
| 528 | p.expect(&format!( | 528 | p.expect(&format!( |
| 529 | "checked out proposal as 'prs/{}(", | 529 | "checked out proposal as 'pr/{}(", |
| 530 | FEATURE_BRANCH_NAME_4, | 530 | FEATURE_BRANCH_NAME_4, |
| 531 | ))?; | 531 | ))?; |
| 532 | p.expect_end_eventually_with(")' branch\r\n")?; | 532 | p.expect_end_eventually_with(")' branch\r\n")?; |
| @@ -773,7 +773,7 @@ mod when_main_branch_is_uptodate { | |||
| 773 | )?; | 773 | )?; |
| 774 | c.succeeds_with(0, false, Some(0))?; | 774 | c.succeeds_with(0, false, Some(0))?; |
| 775 | p.expect(&format!( | 775 | p.expect(&format!( |
| 776 | "checked out proposal as 'prs/{}(", | 776 | "checked out proposal as 'pr/{}(", |
| 777 | FEATURE_BRANCH_NAME_1, | 777 | FEATURE_BRANCH_NAME_1, |
| 778 | ))?; | 778 | ))?; |
| 779 | p.expect_end_eventually_with(")' branch\r\n")?; | 779 | p.expect_end_eventually_with(")' branch\r\n")?; |