--- parser3/tests/065.html 2012/05/24 12:27:14 1.6
+++ parser3/tests/065.html 2024/12/11 00:39:45 1.7
@@ -28,6 +28,10 @@ $tRepl[^table::create[nameless]{$request
^do[C:\temp/file.txt]
^do[C:/temp\file.txt]
+^do[^file::create[text;/../;]]
+^do[^file::create[text;/path/name.ext;]]
+^file:fullpath[^file::create[text;/path/name.ext;]]
+^try-catch{^file:fullpath{code}}
@do[sFileSpec]
src=^printFS[$sFileSpec]
@@ -39,4 +43,4 @@ justext=^file:justext[$sFileSpec]
@printFS[sFileSpec]
-$result[^sFileSpec.replace[$tRepl]]
+$result[^if($sFileSpec is file){$sFileSpec.name}{^sFileSpec.replace[$tRepl]}]