diff options
author | Joey Hess <joey@kitenet.net> | 2011-01-24 17:23:58 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-01-24 17:23:58 -0400 |
commit | 6e96b5921a6423b03bd974de1cb2d17e6c4a8ecd (patch) | |
tree | 8a669d7ca9aaf603d3773987e0117235cb82662f /t | |
parent | f6b442aa2e3ff9dfa06af70d05afa2c8c0e01278 (diff) |
remove more test diag stuff that needs a newer Test::More than debian stable's
Diffstat (limited to 't')
-rwxr-xr-x | t/tag.t | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -62,21 +62,21 @@ is($autofiles{"tags/primes.mdwn"}{plugin}, "tag"); ok(!-e "t/tmp/tags/lucky.mdwn"); my (%pages, @del); IkiWiki::gen_autofile("tags/lucky.mdwn", \%pages, \@del); -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, []); ok(-s "t/tmp/tags/lucky.mdwn"); # generating an autofile that already exists does nothing %pages = @del = (); IkiWiki::gen_autofile("tags/numbers.mdwn", \%pages, \@del); -is_deeply(\%pages, {}) || diag explain \%pages; -is_deeply(\@del, []) || diag explain \@del; +is_deeply(\%pages, {}); +is_deeply(\@del, []); # generating an autofile that we just deleted does nothing %pages = (); @del = ('tags/primes.mdwn'); IkiWiki::gen_autofile("tags/primes.mdwn", \%pages, \@del); -is_deeply(\%pages, {}) || diag explain \%pages; -is_deeply(\@del, ['tags/primes.mdwn']) || diag explain \@del; +is_deeply(\%pages, {}); +is_deeply(\@del, ['tags/primes.mdwn']); 1; |