X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/a68c191f9f5749a7d472523fb65e022afd13380e..3ab731d1e483bdb412df46dfa28f3271c9d923a8:/t/tag.t diff --git a/t/tag.t b/t/tag.t index 871488604..cc0a30cad 100755 --- 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 = ();