diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/function/builtin/testscript | 11 | ||||
-rw-r--r-- | tests/function/filesystem/testscript | 5 |
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 |