diff options
Diffstat (limited to 't/00_load.t')
-rw-r--r-- | t/00_load.t | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/00_load.t b/t/00_load.t new file mode 100644 index 0000000..4409ce1 --- /dev/null +++ b/t/00_load.t @@ -0,0 +1,9 @@ +# copied over from JSON::XS and modified to use JSON + +BEGIN { $| = 1; print "1..1\n"; } +END {print "not ok 1\n" unless $loaded;} +BEGIN { $ENV{PERL_JSON_BACKEND} ||= "JSON::backportPP"; } + +use JSON; +$loaded = 1; +print "ok 1\n"; |