]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/www_listing.t
git: ensure ->modified returns an integer
[public-inbox.git] / t / www_listing.t
index 2741e1b8b531db17084b5c2ed0bb3ff51e5bb8bd..1f2929808f54c21ab1dd73ddda4a7f600608029a 100644 (file)
@@ -96,6 +96,7 @@ SKIP: {
                $body .= $buf;
        }
        IO::Uncompress::Gunzip::gunzip(\$body => \$tmp);
+       unlike($tmp, qr/"modified":\s*"/, 'modified is an integer');
        my $manifest = $json->decode($tmp);
        ok(my $clone = $manifest->{'/alt'}, '/alt in manifest');
        is($clone->{owner}, 'lorelei', 'owner set');