--- parser3/tests/164.html 2007/04/23 14:50:28 1.2
+++ parser3/tests/164.html 2007/04/23 15:13:09 1.3
@@ -8,7 +8,7 @@ $hf[^hashfile::open[$sName]]
Storing 4 values and show all items...
-^put[$hf;0;value 0](1)
+^put[$hf;0;value 0](2)
^put[$hf;1;value 1;^date::now(+1/24/60/60)]
^put[$hf;2;value 2](3)
^put[$hf;3;value 3](4)
@@ -47,7 +47,7 @@ Delete files and check if they exists...
Put value and check auto re-opening...
-^put[$hf;1;value 1](1)
+^put[$hf;1;value 1]
^checkFiles[$sName]
# finalizing: remove files for make next test start working well
@@ -58,10 +58,12 @@ Put value and check auto re-opening...
@put[hf;sKey;sValue;uExpires]
$hf.$sKey[
$.value[$sValue]
- ^if($uExpires is "date"){
- $.expires[$uExpires]
- }{
- $.expires($uExpires/24/60/60)
+ ^if(def $uExpires){
+ ^if($uExpires is "date"){
+ $.expires[$uExpires]
+ }{
+ $.expires($uExpires/24/60/60)
+ }
}
]