Skip to content

Commit

Permalink
Plack::Request 警告されるので params -> parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Aug 30, 2011
1 parent 1544454 commit 9720644
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/plugin_unicode.t
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ use Test::Base;
my $test = 'テスト';
Test::More::ok( utf8::is_utf8($test), 'utf8 flag automatically on by Ark' );

Test::More::ok(utf8::is_utf8( $c->req->params->{foo} ), 'request is utf8');
Test::More::is($c->req->params->{foo}, $test, 'request ok');
Test::More::ok(utf8::is_utf8( $c->req->parameters->{foo} ), 'request is utf8');
Test::More::is($c->req->parameters->{foo}, $test, 'request ok');

$c->res->body( $c->req->params->{foo} );
$c->res->body( $c->req->parameters->{foo} );
}
}

Expand Down

0 comments on commit 9720644

Please sign in to comment.