projects
/
p5sagit/JSON-MaybeXS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add more diagnostics in tests
[p5sagit/JSON-MaybeXS.git]
/
t
/
xs.t
diff --git
a/t/xs.t
b/t/xs.t
index
a254b7e
..
4a9248d
100644
(file)
--- a/
t/xs.t
+++ b/
t/xs.t
@@
-9,6
+9,8
@@
unless ( eval { require JSON::XS; 1 } ) {
plan skip_all => 'No JSON::XS';
}
+diag 'Using JSON::XS ', JSON::XS->VERSION;
+
is( JSON, 'JSON::XS', 'Correct JSON class' );
is( \&encode_json, \&JSON::XS::encode_json, 'Correct encode_json function' );