diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-28 17:48:24 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-28 17:48:24 +0000 |
commit | a0653933d324f30838fe04d5f9aaab8b130014b2 (patch) | |
tree | b8c1bd9ed42cf27dd6b5238e19020bf06d55e87d /t | |
parent | 201e681d3413d93c99af614042d26ad9a74edfcf (diff) | |
download | ikiwiki-a0653933d324f30838fe04d5f9aaab8b130014b2.tar ikiwiki-a0653933d324f30838fe04d5f9aaab8b130014b2.tar.gz |
* Add exclude option in setup files, works same as --exclude.
Diffstat (limited to 't')
-rwxr-xr-x | t/crazy-badass-perl-bug.t | 2 | ||||
-rwxr-xr-x | t/htmlize.t | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/t/crazy-badass-perl-bug.t b/t/crazy-badass-perl-bug.t index f54f27c4b..047ff1db2 100755 --- a/t/crazy-badass-perl-bug.t +++ b/t/crazy-badass-perl-bug.t @@ -13,7 +13,7 @@ BEGIN { use_ok("IkiWiki::Render"); } # Initialize htmlscrubber plugin %IkiWiki::config=IkiWiki::defaultconfig(); $IkiWiki::config{srcdir}=$IkiWiki::config{destdir}="/dev/null"; -IkiWiki::checkconfig(); +IkiWiki::loadplugins(); IkiWiki::checkconfig(); ok(IkiWiki::htmlize("mdwn", IkiWiki::readfile("t/test1.mdwn"))); ok(IkiWiki::htmlize("mdwn", IkiWiki::readfile("t/test3.mdwn")), "wtf?") for 1..100; diff --git a/t/htmlize.t b/t/htmlize.t index 687eb03a8..070fbf958 100755 --- a/t/htmlize.t +++ b/t/htmlize.t @@ -10,6 +10,7 @@ BEGIN { use_ok("IkiWiki::Render"); } # Initialize htmlscrubber plugin %IkiWiki::config=IkiWiki::defaultconfig(); $IkiWiki::config{srcdir}=$IkiWiki::config{destdir}="/dev/null"; +IkiWiki::loadplugins(); IkiWiki::checkconfig(); is(IkiWiki::htmlize("mdwn", "foo\n\nbar\n"), "<p>foo</p>\n\n<p>bar</p>\n", |