--- parser3/tests/270.html 2011/11/11 06:15:41 1.1 +++ parser3/tests/270.html 2017/02/13 15:05:52 1.5 @@ -1,10 +1,14 @@ @main[] $dir[/tests/270_dir] -^file:find[$dir/subdir/270.txt]
-^file:find[$dir/subdir/270.txt]{file not found}
-^file:find[$dir/270.txt]
-^file:find[$dir/270.txt]{file not found}
-^file:find[$dir/270.html]
-^file:find[$dir/270.html]{file not found}
-^file:find[$dir/not-exist]
-^file:find[$dir/not-exist]{file not found}
+ +#^do[$dir///subdir/270.txt]{file not found (error)} + +#^do[/Makefile]{file not found (error)} +^do[Makefile]{file not found (error)} + +@do[sFileSpec;*hParams] +^if($hParams){ + $result[^file:find[$sFileSpec]{$hParams.0}
] +}{ + $result[^file:find[$sFileSpec]
] +}