X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fjson.t;h=c9da0376dc2ae060d0a7c8e0de9cf5e2cc008b9e;hb=c0008fc76f34cc22ceaf80003191f73a2300bfe5;hp=35d60593d8481e5a42fbaafa7d47bf485c657aa3;hpb=838f49dc89f8bef88c3a3dc9841473555f71bb82;p=catagits%2FCatalyst-Action-REST.git diff --git a/t/json.t b/t/json.t index 35d6059..c9da037 100644 --- a/t/json.t +++ b/t/json.t @@ -2,16 +2,12 @@ use strict; use warnings; use Test::More; use FindBin; +use JSON::MaybeXS; use lib ("$FindBin::Bin/lib", "$FindBin::Bin/../lib"); use Test::Rest; use utf8; -eval 'use JSON 2.12'; -plan skip_all => 'Install JSON 2.12 or later to run this test' if ($@); - -plan tests => 11; - use_ok 'Catalyst::Test', 'Test::Serialize'; my $json = JSON->new->utf8; @@ -47,3 +43,5 @@ for ('text/x-json', 'application/json') { } 1; + +done_testing;