--- parser3/tests/030.html 2010/10/21 20:49:35 1.5
+++ parser3/tests/030.html 2024/09/13 23:49:45 1.6
@@ -13,14 +13,21 @@ $cookie:s[
$.expires[session]
]
-^try{
+e1: ^try-catch{
$cookie:z[
$.value[zzz-value]
$.expires[zzz]
]
+}
+
+e2: ^try{
+ $cookie:x[
+ $.value[xxx-value]
+ $.expires(-5000*365)
+ ]
}{
$exception.handled(true)
- mustfail, it's OK.
+ Exception type: $exception.type
}
-^cookie:fields.foreach[k;v]{${k}: '$v.value'}[
^#0A]
+^json:string[$cookie:fields; $.indent(1) ]