X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Futf8.t;h=7d976670d62e26a75b3a1153769bc79d7fba5ac0;hb=f6c7524b1bfb8210324e214091c110ff642ed5fc;hp=94e024998b2a31f47a883bf55c171f2740645d78;hpb=caa68319afbd7b8db59975b1e968766da6ac6bbc;p=catagits%2FCatalyst-View-TT.git diff --git a/t/utf8.t b/t/utf8.t index 94e0249..7d97667 100644 --- a/t/utf8.t +++ b/t/utf8.t @@ -2,7 +2,6 @@ use utf8; use warnings; use strict; use Test::More; -use Encode 2.21 'decode_utf8'; use File::Spec; { @@ -36,7 +35,7 @@ use Catalyst::Test 'MyApp'; if(MyApp->can('encoding') and MyApp->can('clear_encoding') ) { ok my $res = request '/root/♥'; is $res->code, 200, 'OK'; - is decode_utf8($res->content), "

This heart literal ♥

This is heart var ♥♥♥

\n", 'correct body'; + is $res->decoded_content, "

This heart literal ♥

This is heart var ♥♥♥

\n", 'correct body'; is $res->content_charset, 'UTF-8'; } else { ok 1, 'Skipping the UTF8 Tests for older installed catalyst';