]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/git.t
t/git.t: do not pass "-b" to git-repack(1)
[public-inbox.git] / t / git.t
diff --git a/t/git.t b/t/git.t
index 052e1cece4b63c32b960c5c334876dd39ab0e399..2d58a106a9fc671c16a9efb9a1de6c54f06d4ff5 100644 (file)
--- a/t/git.t
+++ b/t/git.t
@@ -120,7 +120,7 @@ if (1) {
        my $nl = scalar @ref;
        ok($nl > 1, "qx returned array length of $nl");
 
-       $gcf->qx(qw(repack -adbq));
+       $gcf->qx(qw(repack -adq));
        ok($gcf->packed_bytes > 0, 'packed size is positive');
 }
 
@@ -148,5 +148,7 @@ use_ok 'PublicInbox::Git', qw(git_unquote);
 my $s;
 is("foo\nbar", git_unquote($s = '"foo\\nbar"'), 'unquoted newline');
 is("ElĂ©anor", git_unquote($s = '"El\\303\\251anor"'), 'unquoted octal');
+is(git_unquote($s = '"I\"m"'), 'I"m', 'unquoted dq');
+is(git_unquote($s = '"I\\m"'), 'I\\m', 'unquoted backslash');
 
 done_testing();