--- parser3/tests/030.html 2009/05/10 12:02:48 1.4
+++ parser3/tests/030.html 2010/10/21 20:49:35 1.5
@@ -1,15 +1,26 @@
-$cookie:clientType[
- $.value[test]
+$cookie:a[
+ $.value[a-value]
$.expires[^date::create(2003;2;26)]
]
-$cookie:zigi[
- $.value[value]
+
+$cookie:b[
+ $.value[b-value]
$.expires[^date::create(2003;2;20)]
]
-'$cookie:CLASS.clientType'
-$t[^table::create{key value}]
-^cookie:fields.foreach[k;v]{^t.append{$k ^if($v is "hash"){$v.value}{$v}}}
-^t.sort{$t.key}
+$cookie:s[
+ $.value[session-value]
+ $.expires[session]
+]
+
+^try{
+ $cookie:z[
+ $.value[zzz-value]
+ $.expires[zzz]
+ ]
+}{
+ $exception.handled(true)
+ mustfail, it's OK.
+}
-^t.menu{${t.key}: '$t.value'}[
]
\ No newline at end of file
+^cookie:fields.foreach[k;v]{${k}: '$v.value'}[
^#0A]