aboutsummaryrefslogtreecommitdiff
path: root/tests/function
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function')
-rw-r--r--tests/function/builtin/testscript11
-rw-r--r--tests/function/filesystem/testscript5
2 files changed, 2 insertions, 14 deletions
diff --git a/tests/function/builtin/testscript b/tests/function/builtin/testscript
index 6108455..d15eeb3 100644
--- a/tests/function/builtin/testscript
+++ b/tests/function/builtin/testscript
@@ -86,16 +86,7 @@
: path
:
- $* <'print $getenv([path] a)' 2>>~/EOE/ != 0
- <stdin>:1:8: error: unmatched call to getenv(path)
- /((
- info: candidate: getenv(<untyped>), qualified name builtin.getenv
- info: candidate: getenv(string), qualified name builtin.getenv
- /)|(
- info: candidate: getenv(string), qualified name builtin.getenv
- info: candidate: getenv(<untyped>), qualified name builtin.getenv
- /))
- EOE
+ $* <'print $getenv([path] a)' >'[null]'
: none
:
diff --git a/tests/function/filesystem/testscript b/tests/function/filesystem/testscript
index 61fca19..7dcfde9 100644
--- a/tests/function/filesystem/testscript
+++ b/tests/function/filesystem/testscript
@@ -95,10 +95,7 @@
: string-path
:
- $* <'print $path_match([string] "b*", [path] "b")' 2>>~/EOE/ != 0
- <stdin>:1:8: error: unmatched call to path_match(string, path)
- /.{11}
- EOE
+ $* <'print $path_match([string] "b*", [path] "b")' >'true'
}
: path