upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/git/mod.rs4
-rw-r--r--src/lib/mbox_parser.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/git/mod.rs b/src/lib/git/mod.rs
index dc84ee3..23fa5f0 100644
--- a/src/lib/git/mod.rs
+++ b/src/lib/git/mod.rs
@@ -1477,7 +1477,7 @@ mod tests {
1477 +some content1\n\\ \ 1477 +some content1\n\\ \
1478 No newline at end of file\n\ 1478 No newline at end of file\n\
1479 --\n\ 1479 --\n\
1480 libgit2 1.9.1\n\ 1480 libgit2 1.9.2\n\
1481 \n\ 1481 \n\
1482 ", 1482 ",
1483 git_repo.make_patch_from_commit(&oid_to_sha1(&oid), &None)?, 1483 git_repo.make_patch_from_commit(&oid_to_sha1(&oid), &None)?,
@@ -1513,7 +1513,7 @@ mod tests {
1513 +some content1\n\\ \ 1513 +some content1\n\\ \
1514 No newline at end of file\n\ 1514 No newline at end of file\n\
1515 --\n\ 1515 --\n\
1516 libgit2 1.9.1\n\ 1516 libgit2 1.9.2\n\
1517 \n\ 1517 \n\
1518 ", 1518 ",
1519 git_repo.make_patch_from_commit(&oid_to_sha1(&oid), &Some((3, 5)))?, 1519 git_repo.make_patch_from_commit(&oid_to_sha1(&oid), &Some((3, 5)))?,
diff --git a/src/lib/mbox_parser.rs b/src/lib/mbox_parser.rs
index 48190ba..f3815f9 100644
--- a/src/lib/mbox_parser.rs
+++ b/src/lib/mbox_parser.rs
@@ -333,7 +333,7 @@ index 0000000..a66525d
333+some content1 333+some content1
334\\ No newline at end of file 334\\ No newline at end of file
335-- 335--
336libgit2 1.9.1 336libgit2 1.9.2
337 337
338" 338"
339 .to_string() 339 .to_string()
@@ -531,7 +531,7 @@ Subject: [PATCH] test
531 531
532This is the body. 532This is the body.
533-- 533--
534libgit2 1.9.1 534libgit2 1.9.2
535 535
536diff --git a/file.txt b/file.txt 536diff --git a/file.txt b/file.txt
537"; 537";