diff options
Diffstat (limited to 'tests/git_remote_nostr')
| -rw-r--r-- | tests/git_remote_nostr/list.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/git_remote_nostr/list.rs b/tests/git_remote_nostr/list.rs index c201054..a2dfe8c 100644 --- a/tests/git_remote_nostr/list.rs +++ b/tests/git_remote_nostr/list.rs | |||
| @@ -323,11 +323,10 @@ mod with_state_announcement { | |||
| 323 | FEATURE_BRANCH_NAME_2, | 323 | FEATURE_BRANCH_NAME_2, |
| 324 | FEATURE_BRANCH_NAME_3, | 324 | FEATURE_BRANCH_NAME_3, |
| 325 | ] { | 325 | ] { |
| 326 | pr_refs.push(format!( | 326 | let tip = proposal_creation_repo.get_tip_of_local_branch(name)?; |
| 327 | "{} refs/heads/{}", | 327 | let branch_name = get_proposal_branch_name_from_events(&r55.events, name)?; |
| 328 | proposal_creation_repo.get_tip_of_local_branch(name)?, | 328 | pr_refs.push(format!("{tip} refs/heads/{branch_name}")); |
| 329 | get_proposal_branch_name_from_events(&r55.events, name)?, | 329 | pr_refs.push(format!("{tip} refs/{branch_name}")); |
| 330 | )); | ||
| 331 | } | 330 | } |
| 332 | 331 | ||
| 333 | assert_eq!( | 332 | assert_eq!( |