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,