2 use warnings FATAL => 'all';
3 use if !eval { require Cpanel::JSON::XS; 1; }, 'Test::More', skip_all => 'No Cpanel::JSON::XS';
7 is(JSON, 'Cpanel::JSON::XS', 'Correct JSON class');
10 \&encode_json, \&Cpanel::JSON::XS::encode_json,
11 'Correct encode_json function'
15 \&decode_json, \&Cpanel::JSON::XS::decode_json,
16 'Correct encode_json function'
19 require 't/lib/is_bool.pm';