--- parser3/tests/164.html 2007/04/23 14:50:28 1.2 +++ parser3/tests/164.html 2007/04/23 15:16:37 1.4 @@ -8,10 +8,10 @@ $hf[^hashfile::open[$sName]]
Storing 4 values and show all items...
-^put[$hf;0;value 0](1) -^put[$hf;1;value 1;^date::now(+1/24/60/60)] -^put[$hf;2;value 2](3) -^put[$hf;3;value 3](4) +^put[$hf;0;value 0](2) +^put[$hf;1;value 1;^date::now(+2/24/60/60)] +^put[$hf;2;value 2](4) +^put[$hf;3;value 3](5) ^print[$hf]
@@ -29,8 +29,8 @@ Removing one value and show all items... ^print[$hf]
-Waiting for a 2 secs and show all items... -^sleep(2) +Waiting for a 3 secs and show all items... +^sleep(3) ^print[$hf]
@@ -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) + } } ]