Release commit for 1.003002
[p5sagit/JSON-MaybeXS.git] / t / cpanel.t
index 5ffa55f..bc2ec35 100644 (file)
@@ -4,11 +4,11 @@ use Test::More;
 use JSON::MaybeXS;
 
 unless ( eval { require Cpanel::JSON::XS; 1 } ) {
-    plan skip_all => 'Cpanel::JSON::XS not installed';
-    done_testing;
-    exit;
+    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,
@@ -21,4 +21,6 @@ is( \&decode_json,
     'Correct encode_json function'
 );
 
+require 't/lib/is_bool.pm';
+
 done_testing;