From: John Napiorkowski Date: Fri, 14 Nov 2014 00:09:56 +0000 (-0600) Subject: remove mistaken file X-Git-Tag: 5.90076^0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=5bec3c066856eaf822d757d6c8295276ddb9d281;hp=9c86666a0171945d0b543cfb81510621fc42d6af remove mistaken file --- diff --git a/t/utf_incoming.t b/t/utf_incoming.t deleted file mode 100644 index b0f908f..0000000 --- a/t/utf_incoming.t +++ /dev/null @@ -1,49 +0,0 @@ -use utf8; -use warnings; -use strict; - -use Test::More; -use HTTP::Request::Common; -use Plack::Test; - -# Test cases for incoming utf8 - -{ - package MyApp::Controller::Root; - $INC{'MyApp/Controller/Root.pm'} = __FILE__; - - use base 'Catalyst::Controller'; - - sub heart :Path('♥') { - my ($self, $c) = @_; - $c->response->body("This is the body"); - } - - sub hat :Path('^') { - my ($self, $c) = @_; - $c->response->body("This is the body"); - } - - sub base :Chained('/') CaptureArgs(0) { } - sub link :Chained('base') PathPart('♥') Args(0) { - my ($self, $c) = @_; - $c->response->body("This is the body"); - } - - package MyApp; - use Catalyst; - - Test::More::ok(MyApp->setup, 'setup app'); -} - -ok my $psgi = MyApp->psgi_app, 'build psgi app'; - -test_psgi $psgi, sub { - my $cb = shift; - #my $res = $cb->(GET "/root/test"); - #is $res->code, 200, 'OK'; - #is $res->content, 'This is the body', 'correct body'; - #is $res->content_length, 16, 'correct length'; -}; - -done_testing;