aboutsummaryrefslogtreecommitdiffstats
path: root/test/testdata/eval-fail-to-path.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/eval-fail-to-path.err.exp')
-rw-r--r--test/testdata/eval-fail-to-path.err.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-to-path.err.exp b/test/testdata/eval-fail-to-path.err.exp
new file mode 100644
index 0000000..d6b17be
--- /dev/null
+++ b/test/testdata/eval-fail-to-path.err.exp
@@ -0,0 +1,10 @@
1error:
2 … while calling the 'toPath' builtin
3 at /pwd/lang/eval-fail-to-path.nix:1:1:
4 1| builtins.toPath "foo/bar"
5 | ^
6 2|
7
8 … while evaluating the first argument passed to builtins.toPath
9
10 error: string 'foo/bar' doesn't represent an absolute path