upleb.uk

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

summaryrefslogtreecommitdiff
path: root/test_utils
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-08-20 06:25:17 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-08-20 06:25:17 +0100
commitfedf5166f0c57db14b9e43747121e4b7845b63dd (patch)
tree0bcbcc200239b75180931f6d5d6d76ee6ace1bf6 /test_utils
parent42b0bad048b64ef51f45da6a6988823e5a49da1d (diff)
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/`
Diffstat (limited to 'test_utils')
-rw-r--r--test_utils/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_utils/src/lib.rs b/test_utils/src/lib.rs
index 84ae8a9..56e9b17 100644
--- a/test_utils/src/lib.rs
+++ b/test_utils/src/lib.rs
@@ -1098,7 +1098,7 @@ pub fn get_proposal_branch_name_from_events(
1098 }) 1098 })
1099 }) { 1099 }) {
1100 return Ok(format!( 1100 return Ok(format!(
1101 "prs/{}({})", 1101 "pr/{}({})",
1102 branch_name_in_event, 1102 branch_name_in_event,
1103 &event.id.to_hex().as_str()[..8], 1103 &event.id.to_hex().as_str()[..8],
1104 )); 1104 ));