From: Eric Wong Date: Thu, 21 Oct 2021 21:10:20 +0000 (+0000) Subject: t/lei-p2q: extra diagnostics X-Git-Tag: v1.7.0~94 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=115f68f1e7aff78c27fdeec642e52294fcf20ad8 t/lei-p2q: extra diagnostics I got one mysterious test failure here, once, and can't seem to reproduce it... --- diff --git a/t/lei-p2q.t b/t/lei-p2q.t index 495d81de..bf40a43b 100644 --- a/t/lei-p2q.t +++ b/t/lei-p2q.t @@ -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;