projects
/
p5sagit/JSON-MaybeXS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7c484eb
)
actually load JSON::MaybeXS in JSON.pm bool test
Graham Knop [Fri, 22 Sep 2017 10:38:54 +0000 (12:38 +0200)]
xt/json_pm.t
patch
|
blob
|
blame
|
history
diff --git
a/xt/json_pm.t
b/xt/json_pm.t
index
f2d6a59
..
4b0e413
100644
(file)
--- 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(