From: John Napiorkowski Date: Fri, 26 Dec 2014 21:54:49 +0000 (-0600) Subject: test new method X-Git-Tag: 5.90079_008~23 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=c566191065a603f466e5066fdd2c0337ed080a75;hp=6adc45cf93c50a080f1f32bad475fd2ab5844887 test new method --- diff --git a/t/utf_incoming.t b/t/utf_incoming.t index f04dd19..3b8e965 100644 --- a/t/utf_incoming.t +++ b/t/utf_incoming.t @@ -142,7 +142,7 @@ use JSON::MaybeXS; ## If someone clears encoding, they can do as they wish sub manual_1 :Local { my ($self, $c) = @_; - $c->encoding(undef); + $c->clear_encoding; $c->res->content_type('text/plain'); $c->res->content_type_charset('UTF-8'); $c->response->body( Encode::encode_utf8("manual_1 ♥"));