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>2026-02-25 12:27:56 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-25 12:27:56 +0000
commitca2df272594a7b055c740ccda0b9c31b3b7e43cc (patch)
treef66ddfd7f72501e1eed63839cfe14ef2ccf71dbf /tests
parentfb5a3ccceeba5418e9267a442efd95acb1da8f0e (diff)
fix: update hardcoded libgit2 version strings in tests to 1.9.2
The Nix environment provides libgit2 1.9.2 via nixpkgs, which libgit2-sys picks up at build time instead of using its bundled version. This caused test assertions that hardcode the libgit2 version string (appended by libgit2 to patch output) to fail after commit 319bb7f added new Cargo dependencies, though the exact mechanism by which those dependencies triggered the switch from the bundled 1.9.1 to the system 1.9.2 remains unclear. Also bump git2 from 0.20.2 to 0.20.4 in both Cargo.toml files so the bundled libgit2-sys version (0.18.3+1.9.2) properly aligns with the 1.9.2 version in use.
Diffstat (limited to 'tests')
-rw-r--r--tests/ngit_send.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ngit_send.rs b/tests/ngit_send.rs
index 67b2209..9e66051 100644
--- a/tests/ngit_send.rs
+++ b/tests/ngit_send.rs
@@ -421,7 +421,7 @@ mod when_cover_letter_details_specified_with_range_of_head_2_sends_cover_letter_
421 +some content\n\\ \ 421 +some content\n\\ \
422 No newline at end of file\n\ 422 No newline at end of file\n\
423 --\n\ 423 --\n\
424 libgit2 1.9.1\n\ 424 libgit2 1.9.2\n\
425 \n\ 425 \n\
426 ", 426 ",
427 ); 427 );
@@ -447,7 +447,7 @@ mod when_cover_letter_details_specified_with_range_of_head_2_sends_cover_letter_
447 +some content\n\\ \ 447 +some content\n\\ \
448 No newline at end of file\n\ 448 No newline at end of file\n\
449 --\n\ 449 --\n\
450 libgit2 1.9.1\n\ 450 libgit2 1.9.2\n\
451 \n\ 451 \n\
452 ", 452 ",
453 ); 453 );