]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/crazy-badass-perl-bug.t
typo
[git.ikiwiki.info.git] / t / crazy-badass-perl-bug.t
index f54f27c4bcaec16cbd341a12cc8abea877a32005..78f0b50112885d44e490925270058620f705c477 100755 (executable)
@@ -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();
-ok(IkiWiki::htmlize("mdwn", IkiWiki::readfile("t/test1.mdwn")));
-ok(IkiWiki::htmlize("mdwn", IkiWiki::readfile("t/test3.mdwn")),
+IkiWiki::loadplugins(); IkiWiki::checkconfig();
+ok(IkiWiki::htmlize("foo", "mdwn", IkiWiki::readfile("t/test1.mdwn")));
+ok(IkiWiki::htmlize("foo", "mdwn", IkiWiki::readfile("t/test3.mdwn")),
        "wtf?") for 1..100;