aboutsummaryrefslogtreecommitdiff
path: root/tests/function/path/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-11-05 14:58:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-11-05 15:04:54 +0200
commitcf18da3ac461087ccffd31222dbe4fa2e6428d56 (patch)
tree987f9c11a25d14930ff7146f1a52b7e698a17391 /tests/function/path/testscript
parent55ddc71fd801e06115ad6e33098b0eed2517daab (diff)
Fix tests
Diffstat (limited to 'tests/function/path/testscript')
-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 8059f05..742ec21 100644
--- a/tests/function/path/testscript
+++ b/tests/function/path/testscript
@@ -72,6 +72,7 @@ s = ($cxx.target.class != 'windows' ? '/' : '\')
:
$* <'print $leaf([path] a/b/c, [dir_path] a/d)' 2>>"EOE" != 0
error: 'a/d$s' is not a prefix of 'a/b/c'
+ <stdin>:1:8: info: while calling leaf\(path, dir_path\)
EOE
}
@@ -106,6 +107,7 @@ s = ($cxx.target.class != 'windows' ? '/' : '\')
p = ($cxx.target.class != 'windows' ? /../foo : 'c:/../foo');
$* <"\$path.normalize\('$p')" 2>>"EOE" != 0
error: invalid path: '$p'
+ <stdin>:1:2: info: while calling path.normalize\(<untyped>\)
EOE
: path-match