summaryrefslogtreecommitdiff
path: root/t/x00_load.t
diff options
context:
space:
mode:
Diffstat (limited to 't/x00_load.t')
-rw-r--r--t/x00_load.t15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/x00_load.t b/t/x00_load.t
new file mode 100644
index 0000000..e220874
--- /dev/null
+++ b/t/x00_load.t
@@ -0,0 +1,15 @@
+
+use strict;
+use Test::More;
+BEGIN { plan tests => 1 };
+
+BEGIN { $ENV{PERL_JSON_BACKEND} = 1; }
+
+use JSON;
+
+SKIP: {
+ skip "can't use JSON::XS.", 1, unless( JSON->backend->is_xs );
+ diag("load JSON::XS v." . JSON->backend->VERSION );
+ ok(1, "load JSON::XS v." . JSON->backend->VERSION );
+}
+