]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/lei-p2q: extra diagnostics
authorEric Wong <e@80x24.org>
Thu, 21 Oct 2021 21:10:20 +0000 (21:10 +0000)
committerEric Wong <e@80x24.org>
Fri, 22 Oct 2021 00:54:36 +0000 (00:54 +0000)
I got one mysterious test failure here, once, and can't seem
to reproduce it...

t/lei-p2q.t

index 495d81de78a5cce12aafc8c35b60c2b843982f7a..bf40a43be46658658186af5e8c068ac92f283300 100644 (file)
@@ -7,7 +7,7 @@ require_mods(qw(json DBD::SQLite Search::Xapian));
 
 test_lei(sub {
        ok(!lei(qw(p2q this-better-cause-format-patch-to-fail)),
-               'p2q fails on bogus arg');
+               'p2q fails on bogus arg') or diag $lei_err;
        like($lei_err, qr/format-patch.*failed/, 'notes format-patch failure');
        lei_ok(qw(p2q -w dfpost t/data/0001.patch));
        is($lei_out, "dfpost:6e006fd73b1d\n", 'pathname') or diag $lei_err;