]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/tag.t
Force use of $config{url} as top URL in w3mmode
[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"));
 
-$config{verbose} = 1;
 $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");
-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 = ();