diff options
author | Simon McVittie <smcv@debian.org> | 2011-01-07 20:09:09 +0000 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2011-01-07 20:09:09 +0000 |
commit | 040038b6559140b4a8c04396098ade2b4d4573b9 (patch) | |
tree | 11f0d49b05a36461ccb5e1e3e889b82607d9a631 | |
parent | 44b0cea85f1641f33ccb305f9da6f96e812b84e9 (diff) | |
parent | eeb0ec1862c855378a2d53701464304111a7ff05 (diff) |
Merge branch 'ready/tag-test' into transient-tag
-rwxr-xr-x | t/tag.t | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,7 @@ package IkiWiki; use warnings; use strict; -use Test::More tests => 21; +use Test::More tests => 22; BEGIN { use_ok("IkiWiki"); } BEGIN { use_ok("IkiWiki::Render"); } @@ -58,6 +58,7 @@ IkiWiki::Plugin::tag::preprocess_tag(page => "seven", numbers => undef, primes = is($autofiles{"tags/lucky.mdwn"}{plugin}, "tag"); is($autofiles{"tags/numbers.mdwn"}{plugin}, "tag"); is($autofiles{"tags/primes.mdwn"}{plugin}, "tag"); +is_deeply([sort keys %autofiles], [qw(tags/lucky.mdwn tags/numbers.mdwn tags/primes.mdwn)]); ok(!-e "t/tmp/tags/lucky.mdwn"); my (%pages, @del); |