diff options
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", |