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>2024-08-08 17:53:42 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-08-08 17:53:42 +0100
commita556464452789dc72cb9b0bff8e9ba6addc6639a (patch)
tree88954d7e9b476626e447b0def0a07bc04abfe898 /tests
parent091f695c90158f161c54212e1951ba0d48a80b56 (diff)
fix(send): patch count
fix [PATCH n/n] when no cover letter and patches great than 1 fixes error where the first patch would be [PATCH] followed by [PATCH n/n]
Diffstat (limited to 'tests')
-rw-r--r--tests/git_remote_helper.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/git_remote_helper.rs b/tests/git_remote_helper.rs
index 379954d..f768806 100644
--- a/tests/git_remote_helper.rs
+++ b/tests/git_remote_helper.rs
@@ -1965,7 +1965,7 @@ mod push {
1965 1965
1966 assert!( 1966 assert!(
1967 revision_root_patch.content.contains("[PATCH 1/3]"), 1967 revision_root_patch.content.contains("[PATCH 1/3]"),
1968 "revision root labeled with [PATCH 1/3]" 1968 "revision root labeled with [PATCH 1/3] event: {revision_root_patch:?}",
1969 ); 1969 );
1970 1970
1971 let second_patch = new_events 1971 let second_patch = new_events