X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Action-REST.git;a=blobdiff_plain;f=t%2Fcatalyst-action-serialize-accept.t;fp=t%2Fcatalyst-action-serialize-accept.t;h=2e268e0825f6c7be8ceaf4937c07b5e03e297cb6;hp=fcd33263f0793fde37c982046ed4d3904db28758;hb=8b01055612fcddfb78a16a40d698b687d8b07496;hpb=5b7421ba8af629694a3c1966e98e58d4daf074a0 diff --git a/t/catalyst-action-serialize-accept.t b/t/catalyst-action-serialize-accept.t index fcd3326..2e268e0 100644 --- a/t/catalyst-action-serialize-accept.t +++ b/t/catalyst-action-serialize-accept.t @@ -36,7 +36,7 @@ EOH } SKIP: { - eval 'require JSON 2.12;'; + eval 'use JSON 2.12;'; skip "can't test application/json without JSON support", 3 if $@; my $json = JSON->new; my $at = Test::Rest->new('content_type' => 'text/doesnt-exist');