--- JSON-XS/t/13_limit.t 2007/03/25 21:19:14 1.1 +++ JSON-XS/t/13_limit.t 2007/04/03 23:59:04 1.3 @@ -9,8 +9,8 @@ my $js = JSON::XS->new; -ok (ref $js->decode (("[" x 8192) . ("]" x 8192))); -ok (ref $js->decode (("{\"\":" x 8191) . "[]" . ("}" x 8191))); +ok (ref $js->decode (("[" x 512) . ("]" x 512))); +ok (ref $js->decode (("{\"\":" x 511) . "[]" . ("}" x 511))); ok (ref $js->max_depth (32)->decode (("[" x 32) . ("]" x 32))); ok ($js->max_depth(1)->encode ([]));