aboutsummaryrefslogtreecommitdiff
path: root/tests/function/path
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-05-22 08:03:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-05-22 08:03:52 +0200
commit5a791d140e3033dbe47301fc324f8282ba182459 (patch)
tree3c8e72135deb31192f1c9f0411ae7495bdec9a1e /tests/function/path
parente416c54b985832c25f0e7861a3c295303ffb9da1 (diff)
Add $filesystem.file_exists(), $filesystem.directory_exists()
Diffstat (limited to 'tests/function/path')
-rw-r--r--tests/function/path/testscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/function/path/testscript b/tests/function/path/testscript
index d49e9e5..6321b3d 100644
--- a/tests/function/path/testscript
+++ b/tests/function/path/testscript
@@ -210,6 +210,8 @@ s = ($posix ? '/' : '\')
$* <'print $complete([path] a)' >"$~$(s)a" : path
$* <'print $complete([dir_path] a)' >"$~$(s)a$(s)" : dir-path
$* <'print $path.complete(a)' >"$~$(s)a" : untyped
+
+ echo $path.complete(a) > "$~$(s)a" : testscript
}
: canonicalize