From fedf5166f0c57db14b9e43747121e4b7845b63dd Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 20 Aug 2024 06:25:17 +0100 Subject: feat: set proposal branch prefix to `pr/` from `prs/`. whilst plural reflects usage of `heads` and `tags` in git refs, singular is shorter and more reflective of usage of branch prefixes such as `feature/` `fix/` --- tests/git_remote_helper.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/git_remote_helper.rs') 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 { r55.events = events.clone(); let before = r55.events.iter().cloned().collect::>(); - let branch_name = "prs/my-new-proposal"; + let branch_name = "pr/my-new-proposal"; let cli_tester_handle = std::thread::spawn(move || -> Result { let mut git_repo = clone_git_repo_with_nostr_url()?; @@ -2250,7 +2250,7 @@ mod push { .find(|t| t.as_vec()[0].eq("branch-name")) .unwrap() .as_vec()[1], - branch_name.replace("prs/", ""), + branch_name.replace("pr/", ""), ); let second_patch = new_events -- cgit v1.2.3