X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestAppEncoding%2FController%2FRoot.pm;fp=t%2Flib%2FTestAppEncoding%2FController%2FRoot.pm;h=095f238e22b84098dbb1a7fe980c62703401e03b;hp=391a2cdc30783f8621ea26e5e474266ae9306e45;hb=efcb1ae7c31fbef6407421c9e0835acfdeb82af8;hpb=d0003a28d5391a4da542fc20184241cf32bb76c8 diff --git a/t/lib/TestAppEncoding/Controller/Root.pm b/t/lib/TestAppEncoding/Controller/Root.pm index 391a2cd..095f238 100644 --- a/t/lib/TestAppEncoding/Controller/Root.pm +++ b/t/lib/TestAppEncoding/Controller/Root.pm @@ -8,7 +8,11 @@ __PACKAGE__->config->{namespace} = ''; sub binary : Local { my ($self, $c) = @_; - $c->res->body(do { open(my $fh, '<', $c->path_to('..', '..', 'catalyst_130pix.gif')) or die $!; binmode($fh); local $/ = undef; <$fh>; }); + $c->res->body(do { + open(my $fh, '<', $c->path_to('..', '..', 'catalyst_130pix.gif')) or die $!; + binmode($fh); + local $/ = undef; <$fh>; + }); } sub binary_utf8 : Local {