]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/tag.t
autoindex and tag use transient underlay when not committing, so do not need to disab...
[git.ikiwiki.info.git] / t / tag.t
diff --git a/t/tag.t b/t/tag.t
index 87148860444e0511630eee65689dbc2a5ef740b7..cc0a30cadf481c6d0d9be8ad431e67d05f84790e 100755 (executable)
--- a/t/tag.t
+++ b/t/tag.t
@@ -12,7 +12,6 @@ BEGIN { use_ok("IkiWiki::Plugin::tag"); }
 
 ok(! system("rm -rf t/tmp; mkdir t/tmp"));
 
 
 ok(! system("rm -rf t/tmp; mkdir t/tmp"));
 
-$config{verbose} = 1;
 $config{srcdir} = 't/tmp';
 $config{underlaydir} = 't/tmp';
 $config{templatedir} = 'templates';
 $config{srcdir} = 't/tmp';
 $config{underlaydir} = 't/tmp';
 $config{templatedir} = 'templates';
@@ -66,8 +65,8 @@ my (%pages, @del);
 IkiWiki::gen_autofile("tags/lucky.mdwn", \%pages, \@del);
 ok(! -s "t/tmp/tags/lucky.mdwn");
 ok(-s "t/tmp/.ikiwiki/transient/tags/lucky.mdwn");
 IkiWiki::gen_autofile("tags/lucky.mdwn", \%pages, \@del);
 ok(! -s "t/tmp/tags/lucky.mdwn");
 ok(-s "t/tmp/.ikiwiki/transient/tags/lucky.mdwn");
-is_deeply(\%pages, {"t/tmp/tags/lucky" => 1}) || diag explain \%pages;
-is_deeply(\@del, []) || diag explain \@del;
+is_deeply(\%pages, {"t/tmp/tags/lucky" => 1});
+is_deeply(\@del, []);
 
 # generating an autofile that already exists does nothing
 %pages = @del = ();
 
 # generating an autofile that already exists does nothing
 %pages = @del = ();