Release commit for 1.004004
[p5sagit/JSON-MaybeXS.git] / t / cpanel.t
CommitLineData
16205c4a 1use strict;
4e1fb2f8 2use warnings;
2c67ae64 3use Test::More 0.88;
16205c4a 4use JSON::MaybeXS;
5
17528b04 6use Test::Needs 'Cpanel::JSON::XS';
0b694b31 7diag 'Using Cpanel::JSON::XS ', Cpanel::JSON::XS->VERSION;
8
16205c4a 9is( JSON, 'Cpanel::JSON::XS', 'Correct JSON class' );
10
11is( \&encode_json,
12 \&Cpanel::JSON::XS::encode_json,
13 'Correct encode_json function'
14);
15
16is( \&decode_json,
17 \&Cpanel::JSON::XS::decode_json,
18 'Correct encode_json function'
19);
20
9c4f62de 21require './t/lib/is_bool.pm';
1ca3b561 22
16205c4a 23done_testing;