]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei-import-maildir.t
t/solver_git: fix test to work with git <2.29
[public-inbox.git] / t / lei-import-maildir.t
index 688b10ce78a0e866ae84b0502712e5db6dd497a7..c81e7805fe7f47101b4e34ae7c514110840e3631 100644 (file)
@@ -28,7 +28,7 @@ test_lei(sub {
        is(scalar(keys %v), 1, 'inspect handles relative and absolute paths');
        my $inspect = json_utf8->decode([ keys %v ]->[0]);
        is_deeply($inspect, {"maildir:$md" => { 'name.count' => 1 }},
-               'inspect maildir: path had expected output');
+               'inspect maildir: path had expected output') or xbail($inspect);
 
        lei_ok(qw(q s:boolean));
        my $res = json_utf8->decode($lei_out);