remove unused code
[p5sagit/JSON-MaybeXS.git] / t / cpanel.t
1 use strict;
2 use warnings FATAL => 'all';
3 use Test::More;
4 use JSON::MaybeXS;
5
6 unless ( eval { require Cpanel::JSON::XS; 1 } ) {
7     plan skip_all => 'No Cpanel::JSON::XS';
8 }
9
10 is( JSON, 'Cpanel::JSON::XS', 'Correct JSON class' );
11
12 is( \&encode_json,
13     \&Cpanel::JSON::XS::encode_json,
14     'Correct encode_json function'
15 );
16
17 is( \&decode_json,
18     \&Cpanel::JSON::XS::decode_json,
19     'Correct encode_json function'
20 );
21
22 require 't/lib/is_bool.pm';
23
24 done_testing;