--- JSON-XS/t/13_limit.t 2007/03/29 02:45:50 1.2 +++ 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 4096) . ("]" x 4096))); -ok (ref $js->decode (("{\"\":" x 4095) . "[]" . ("}" x 4095))); +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 ([]));