upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-09-03 16:57:14 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2025-09-03 16:57:14 +0100
commit4bd46c3cf7bacb062d45d3c99d3edfadc95cb139 (patch)
tree9f2a0e9eb51376d892a4423a13491d6b84f9649d /tests
parentf9af579148f1cbf8f062c8172535f33a0ca99934 (diff)
fix(remote): `refs/pr-by-id/*` ~> `refs/pr/*/head`
to align more closely with githubs `refs/pull/*/head` we can pretend that pr means both Patch Request and Pull Request
Diffstat (limited to 'tests')
-rw-r--r--tests/git_remote_nostr/list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/git_remote_nostr/list.rs b/tests/git_remote_nostr/list.rs
index 50ea350..1972cd5 100644
--- a/tests/git_remote_nostr/list.rs
+++ b/tests/git_remote_nostr/list.rs
@@ -328,7 +328,7 @@ mod with_state_announcement {
328 pr_refs.push(format!("{tip} refs/heads/{branch_name}")); 328 pr_refs.push(format!("{tip} refs/heads/{branch_name}"));
329 pr_refs.push(format!("{tip} refs/{branch_name}")); 329 pr_refs.push(format!("{tip} refs/{branch_name}"));
330 let proposal_id = get_proposal_id_from_branch_name(&r55.events, name)?; 330 let proposal_id = get_proposal_id_from_branch_name(&r55.events, name)?;
331 pr_refs.push(format!("{tip} refs/pr-by-id/{proposal_id}")); 331 pr_refs.push(format!("{tip} refs/pr/{proposal_id}/head"));
332 } 332 }
333 333
334 assert_eq!( 334 assert_eq!(