From: Eric Wong Date: Tue, 26 Oct 2021 10:47:34 +0000 (+0000) Subject: t/lei-watch: add diagnostics for failure X-Git-Tag: v1.7.0~43 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=e7d9df936d071b4a9b72d2e6096ddf1e90c1bc05 t/lei-watch: add diagnostics for failure I just got a difficult-to-reproduce failure, here; so there's still some issues with the up-to-dateness of the inotify watcher. --- diff --git a/t/lei-watch.t b/t/lei-watch.t index df887a03..9158571c 100644 --- a/t/lei-watch.t +++ b/t/lei-watch.t @@ -58,7 +58,7 @@ test_lei(sub { lei_ok qw(q mid:testmessage@example.com -o), $md2, '-I', "$ro_home/t1"; my @f2 = glob("$md2/*/*"); is(scalar(@f2), 1, 'got one result'); - like($f2[0], qr/S\z/, 'seen set from rename'); + like($f2[0], qr/S\z/, 'seen set from rename') or diag explain(\@f2); my $e2 = eml_load($f2[0]); my $e1 = eml_load("$f[0]S"); is_deeply($e2, $e1, 'results match');