2 # DO NOT CHANGE ANYTHING IN THIS FILE.
3 # THe crazy bug reproduced here will go away if any of the calls
4 # to htmlize are changed.
7 use Test::More tests => 103;
10 BEGIN { use_ok("IkiWiki"); }
11 BEGIN { use_ok("IkiWiki::Render"); }
13 # Initialize htmlscrubber plugin
14 %IkiWiki::config=IkiWiki::defaultconfig();
15 $IkiWiki::config{srcdir}=$IkiWiki::config{destdir}="/dev/null";
16 IkiWiki::checkconfig();
17 ok(IkiWiki::htmlize("mdwn", IkiWiki::readfile("t/test1.mdwn")));
18 ok(IkiWiki::htmlize("mdwn", IkiWiki::readfile("t/test3.mdwn")),