]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/crazy-badass-perl-bug.t
add news item for ikiwiki 1.23
[git.ikiwiki.info.git] / t / crazy-badass-perl-bug.t
index 69e9731d833c8808c5d4b134c8ad8635a97620e1..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;