drop the use of fatal warnings in tests
[p5sagit/JSON-MaybeXS.git] / t / preload_xs.t
index f5c94b6..aecb88a 100644 (file)
@@ -1,9 +1,12 @@
 use strict;
-use warnings FATAL => 'all';
+use warnings;
+
 use if !eval { require JSON::XS; 1; }, 'Test::More', skip_all => 'No JSON::XS';
 use Test::More;
 use JSON::MaybeXS;
 
+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' );