--- parser3/tests/256.html 2017/05/16 14:46:58 1.8 +++ parser3/tests/256.html 2024/10/02 23:04:05 1.10 @@ -141,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]] @@ -150,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}"] }