]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/lei-import-imap.t
fetch: support running as root
[public-inbox.git] / t / lei-import-imap.t
index 12f6fad0bd88a075f7dcd0a10ae57cff18436d8a..315567b3b8d4fea66bd2211e11cf377aaee603ea 100644 (file)
@@ -43,6 +43,7 @@ test_lei({ tmpdir => $tmpdir }, sub {
        $url = $u;
        $u =~ s/;UIDVALIDITY=(\d+)\s*/;UIDVALIDITY=9$1/s;
        ok(!lei('import', $u), 'UIDVALIDITY mismatch in URL rejected');
+       like($lei_err, qr/UIDVALIDITY mismatch/, 'mismatch noted');
 
        lei_ok('inspect', $url);
        my $inspect = json_utf8->decode($lei_out);