Debian Codegraph @

t/gh_29_trailing_false_value.t

raw
1 use strict;
2 use warnings;
3 use Test::More;
4
5 BEGIN { plan tests => 1 };
6
7 BEGIN { $ENV{PERL_JSON_BACKEND} ||= "JSON::backportPP"; }
8
9 use JSON;
10
11 SKIP: { skip "requires $JSON::BackendModule 2.90 or newer", 1 if $JSON::BackendModulePP and eval $JSON::BackendModulePP->VERSION < 2.90;
12 eval { JSON->new->decode('{}0') };
13 ok $@;
14 }