diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-18 13:10:37 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-18 13:10:37 +0100 |
| commit | e863ee5e2172cd7d2cd7a903d138bd839de4972d (patch) | |
| tree | 4b508876cb11b614cebd372370e3a36192b2d0b5 /src/lib | |
| parent | a35fc976be5b8c481c9a638d1486d64941d9bcad (diff) | |
test: fix gitlib2 version in sample
so they match v1.8.2 used in updated git2
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/git/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/git/mod.rs b/src/lib/git/mod.rs index fb7ae74..7ebdefd 100644 --- a/src/lib/git/mod.rs +++ b/src/lib/git/mod.rs | |||
| @@ -1192,7 +1192,7 @@ mod tests { | |||
| 1192 | +some content1\n\\ \ | 1192 | +some content1\n\\ \ |
| 1193 | No newline at end of file\n\ | 1193 | No newline at end of file\n\ |
| 1194 | --\n\ | 1194 | --\n\ |
| 1195 | libgit2 1.7.2\n\ | 1195 | libgit2 1.8.1\n\ |
| 1196 | \n\ | 1196 | \n\ |
| 1197 | ", | 1197 | ", |
| 1198 | git_repo.make_patch_from_commit(&oid_to_sha1(&oid), &None)?, | 1198 | git_repo.make_patch_from_commit(&oid_to_sha1(&oid), &None)?, |
| @@ -1228,7 +1228,7 @@ mod tests { | |||
| 1228 | +some content1\n\\ \ | 1228 | +some content1\n\\ \ |
| 1229 | No newline at end of file\n\ | 1229 | No newline at end of file\n\ |
| 1230 | --\n\ | 1230 | --\n\ |
| 1231 | libgit2 1.7.2\n\ | 1231 | libgit2 1.8.1\n\ |
| 1232 | \n\ | 1232 | \n\ |
| 1233 | ", | 1233 | ", |
| 1234 | git_repo.make_patch_from_commit(&oid_to_sha1(&oid), &Some((3, 5)))?, | 1234 | git_repo.make_patch_from_commit(&oid_to_sha1(&oid), &Some((3, 5)))?, |