use strict;
-use warnings FATAL => 'all';
-use if !do { require Cpanel::JSON::XS; 1; }, 'Test::More', skip_all => 'No Cpanel::JSON::XS';
+use warnings;
+use if !eval { require Cpanel::JSON::XS; 1; }, 'Test::More', skip_all => 'No Cpanel::JSON::XS';
use Test::More;
use JSON::MaybeXS;
+diag 'Using Cpanel::JSON::XS ', Cpanel::JSON::XS->VERSION;
+
is(JSON, 'Cpanel::JSON::XS', 'Correct JSON class');
is(
'Correct encode_json function'
);
+require 't/lib/is_bool.pm';
+
done_testing;