From: John Napiorkowski Date: Mon, 29 Dec 2014 19:40:18 +0000 (-0600) Subject: minor test cleanup X-Git-Tag: v0.43~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-View-TT.git;a=commitdiff_plain;h=2c6b647573f44747677c48176defa0ac3212e2de minor test cleanup --- diff --git a/t/utf8.t b/t/utf8.t index 628a7e6..ed7cb1c 100644 --- a/t/utf8.t +++ b/t/utf8.t @@ -3,7 +3,6 @@ use warnings; use strict; use Test::More; use Encode 2.21 'decode_utf8', 'encode_utf8'; -use HTTP::Request::Common; use File::Spec; { @@ -35,10 +34,8 @@ use File::Spec; use Catalyst::Test 'MyApp'; if(MyApp->can('encoding') and MyApp->can('clear_encoding') ) { - ok my $res = request GET '/root/♥', 'Accept-Encoding' => 'gzip'; - + 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->content_charset, 'UTF-8'; } else {