fix typo in comment
[p5sagit/JSON-MaybeXS.git] / t / pp.t
CommitLineData
3be1e192 1use strict;
4e1fb2f8 2use warnings;
0b694b31 3
16205c4a 4use Test::Without::Module 'Cpanel::JSON::XS', 'JSON::XS';
b461f143 5use if !eval { require JSON::PP; 1; }, 'Test::More', skip_all => 'No JSON::PP';
3be1e192 6use Test::More;
7use JSON::MaybeXS;
8
0b694b31 9diag 'Using JSON::PP ', JSON::PP->VERSION;
10
3be1e192 11is(JSON, 'JSON::PP', 'Correct JSON class');
12
13is(
14 \&encode_json, \&JSON::PP::encode_json,
15 'Correct encode_json function'
16);
17
18is(
19 \&decode_json, \&JSON::PP::decode_json,
20 'Correct encode_json function'
21);
22
1ca3b561 23require 't/lib/is_bool.pm';
24
3be1e192 25done_testing;