X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/202c4d522f9f83d0e439b3846fb6a90e4eebee59..fcaa7f6237ac2b2b372cb26aed136f8a364d6ed5:/t/readfile.t diff --git a/t/readfile.t b/t/readfile.t index 5332f4c35..bb1c6bae3 100755 --- a/t/readfile.t +++ b/t/readfile.t @@ -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"));