--- parser3/tests/256.html 2015/09/22 22:41:53 1.7 +++ parser3/tests/256.html 2024/10/02 23:04:05 1.10 @@ -98,9 +98,8 @@ $h[ $.image[ $.value[^image::create(100;100;0)] $._options[ - $.0[$.skip-unknown(true)] $.1[$.image[$handler]] - $.2[$.exception(true)] + $.2[$.exception(false)] ] ] @@ -142,6 +141,9 @@ $s[^h.foreach[k;v]{ ^s.match["([acm]date)":"[^^"]+"][g]{"$match.1":"-value-"} +check large date timestamp: ^json:string[^date::create[9000-01-01]; $.date[unix-timestamp] ] + + @2string[value;options] $options[^hash::create[$options]] @@ -151,7 +153,7 @@ $bShouldBeException($options.exception) $result[^json:string[$value;$options]^if($bShouldBeException){. FAILED. EXCEPTION SHOULD BE HERE}] }{ $exception.handled(true) - $result["exception":"$exception.source, $exception.comment^if($bShouldBeException){. That's OK}"] + $result["exception":"$exception.source, ^taint[as-is;$exception.comment]^if($bShouldBeException){. That's OK}"] }