user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH] t/lei-externals: add diagnostic for warning
@ 2021-03-19 12:41 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2021-03-19 12:41 UTC (permalink / raw)
  To: meta

Not sure where it's coming from, but I saw it fail, once
(and we should be doing more "or diag ..." anyways to improve
diagnostics).
---
 t/lei-externals.t | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/t/lei-externals.t b/t/lei-externals.t
index 2a92d101..915f25ad 100644
--- a/t/lei-externals.t
+++ b/t/lei-externals.t
@@ -229,7 +229,8 @@ SKIP: {
 		is(scalar(@s), 2, "2 results in mbox$sfx");
 
 		lei_ok('q', '-a', '-o', "mboxcl2:$f", 's:nonexistent');
-		is(grep(!/^#/, $lei_err), 0, "no errors on no results ($sfx)");
+		is(grep(!/^#/, $lei_err), 0, "no errors on no results ($sfx)")
+			or diag $lei_err;
 
 		my @s2 = grep(/^Subject:/, $cat->());
 		is_deeply(\@s2, \@s,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-19 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-19 12:41 [PATCH] t/lei-externals: add diagnostic for warning Eric Wong

Code repositories for project(s) associated with this inbox:

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).