fix Test::More prereq for done_testing
[p5sagit/JSON-MaybeXS.git] / t / cpanel.t
index 44630bc..81f8a7a 100644 (file)
@@ -1,12 +1,14 @@
 use strict;
-use warnings FATAL => 'all';
-use Test::More;
+use warnings;
+use Test::More 0.88;
 use JSON::MaybeXS;
 
 unless ( eval { require Cpanel::JSON::XS; 1 } ) {
     plan skip_all => 'No Cpanel::JSON::XS';
 }
 
+diag 'Using Cpanel::JSON::XS ', Cpanel::JSON::XS->VERSION;
+
 is( JSON, 'Cpanel::JSON::XS', 'Correct JSON class' );
 
 is( \&encode_json,