drop the use of fatal warnings in tests
[p5sagit/JSON-MaybeXS.git] / t / cpanel.t
index 8bf0383..2beef29 100644 (file)
@@ -1,14 +1,14 @@
 use strict;
-use warnings FATAL => 'all';
+use warnings;
 use Test::More;
 use JSON::MaybeXS;
 
 unless ( eval { require Cpanel::JSON::XS; 1 } ) {
     plan skip_all => 'No Cpanel::JSON::XS';
-    done_testing;
-    exit;
 }
 
+diag 'Using Cpanel::JSON::XS ', Cpanel::JSON::XS->VERSION;
+
 is( JSON, 'Cpanel::JSON::XS', 'Correct JSON class' );
 
 is( \&encode_json,