From: Graham Knop Date: Fri, 22 Sep 2017 10:38:54 +0000 (+0200) Subject: actually load JSON::MaybeXS in JSON.pm bool test X-Git-Tag: v1.003010~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a90ee583ae2de452670b58d87d5f5becb1984763;p=p5sagit%2FJSON-MaybeXS.git actually load JSON::MaybeXS in JSON.pm bool test --- diff --git a/xt/json_pm.t b/xt/json_pm.t index f2d6a59..4b0e413 100644 --- a/xt/json_pm.t +++ b/xt/json_pm.t @@ -6,6 +6,8 @@ unless ( eval { require JSON; 1 } ) { plan skip_all => 'No JSON'; } +use JSON::MaybeXS; + my $data = JSON()->new->decode('{"foo": true, "bar": false, "baz": 1}'); ok(