--- parser3/tests/256.html 2010/11/03 22:15:56 1.3 +++ parser3/tests/256.html 2015/09/22 22:41:53 1.7 @@ -1,4 +1,4 @@ -@main[] +@main[] $a[^hash::create[]] $b[$.a[$a]] $a.b[$b] @@ -24,13 +24,18 @@ $h[ ] $.date[ - $.value[^date::create(2006;08;18;06;09;00)] + $.value[^date::create(2026;08;18;06;09;00)] $._options[ $.0[$.date[unix-timestamp]] $.1[$.date[gmt-string]] - $.2[$.date[sql-string]] - $.3[$.date[$handler]] + $.2[$.date[iso-string]] + $.3[$.date[sql-string]] + $.4[$.date[$handler]] + $.5[ + $.date[unsupported] + $.exception(true) + ] ] ] @@ -50,6 +55,10 @@ $h[ $.3[$.table[array] $.indent(true)] $.4[$.table[compact]] $.5[$.table[compact] $.indent(true)] + $.6[ + $.table[unsupported] + $.exception(true) + ] ] ] @@ -58,6 +67,14 @@ $h[ $._options[ $.0[$.my[$handler]] + $.1[ + $.my[$unknown] + $.exception(true) + ] + $.2[ + $.my[$main] + $.exception(true) + ] ] ] @@ -70,6 +87,11 @@ $h[ $.0[$.file[text]] $.1[$.file[base64] $.indent(true)] $.2[$.file[$handler]] + $.3[$.file[stat]] + $.4[ + $.file[unsupported] + $.exception(true) + ] ] ] @@ -90,6 +112,16 @@ $h[ ] ] + $.xdoc[ + $.value[^xdoc::create{}] + $._options[ + $.0[] + $.1[$.xdoc[ + $.omit-xml-declaration[yes] + $.indent[yes] + ]] + ] + ] ] ^h.table.table_named_3.append{v7 v8 v9 v0} @@ -119,7 +151,7 @@ $bShouldBeException($options.exception) $result[^json:string[$value;$options]^if($bShouldBeException){. FAILED. EXCEPTION SHOULD BE HERE}] }{ $exception.handled(true) - $result[Exception^if($bShouldBeException){. That's OK} ($exception.comment)] + $result["exception":"$exception.source, $exception.comment^if($bShouldBeException){. That's OK}"] }