inline autotitles: open issue
[ikiwiki.git] / t / readfile.t
index 5332f4c352a0abc603ab8786febf6780820997da..bb1c6bae3fa0dc75b3dc0145c7c1357e3bc27e94 100755 (executable)
@@ -7,6 +7,6 @@ use Encode;
 BEGIN { use_ok("IkiWiki"); }
 
 # should read files as utf8
-ok(Encode::is_utf8(IkiWiki::readfile("t/test1.mdwn"), 1));
-is(IkiWiki::readfile("t/test1.mdwn"),
+ok(Encode::is_utf8(readfile("t/test1.mdwn"), 1));
+is(readfile("t/test1.mdwn"),
        Encode::decode_utf8('![o](../images/o.jpg "ó")'."\n".'óóóóó'."\n"));