Memleak test needs to use resident size
[catagits/Catalyst-Runtime.git] / t / unit_core_uri_for_multibytechar.t
index 72e9813..b0ccdc5 100644 (file)
@@ -5,9 +5,6 @@ use FindBin;
 use File::Spec;
 use lib File::Spec->catfile($FindBin::Bin, 'lib');
 
-use utf8; # for literal below
-use Encode; # URI.pm is braindead wrt unicode-flagged characters
-
 use Test::More tests => 5;
 
 use_ok('TestApp');
@@ -27,7 +24,7 @@ my $context = TestApp->new({
 my $uri_with_multibyte = URI->new($base);
 $uri_with_multibyte->path('/');
 $uri_with_multibyte->query_form(
-    name => Encode::encode('utf8', '村瀬大輔'),
+    name => '村瀬大輔',
 );
 
 # multibyte with utf8 bytes