X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Flei-p2q.t;h=bf40a43be46658658186af5e8c068ac92f283300;hb=refs%2Fheads%2Fmaster;hp=58506f944a208ad58501cd2f2724c8b5e6fcb7d5;hpb=66b5829892cf0fcd5249e26be21d8b3f3ee35816;p=public-inbox.git diff --git a/t/lei-p2q.t b/t/lei-p2q.t index 58506f94..bf40a43b 100644 --- a/t/lei-p2q.t +++ b/t/lei-p2q.t @@ -7,7 +7,8 @@ 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; open my $fh, '+<', 't/data/0001.patch' or xbail "open: $!";