aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-fail-to-path.err.exp
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-07-13 15:06:08 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-07-13 15:06:08 -0400
commitddc0a2050b292db4687027401d031d90c2b2cf56 (patch)
tree7f4c590b3fbf9ac4dcf1d2b92caf86c77a677512 /tests/lang/eval-fail-to-path.err.exp
parenta2acd23466108a1a10ed3b6b874c558bd95e7645 (diff)
parentbbc08a11f49ac41d8fa91510bcff269540c310a4 (diff)
Merge remote-tracking branch 'upstream/master' into best-effort-supplementary-groups
Diffstat (limited to 'tests/lang/eval-fail-to-path.err.exp')
-rw-r--r--tests/lang/eval-fail-to-path.err.exp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-to-path.err.exp b/tests/lang/eval-fail-to-path.err.exp
new file mode 100644
index 000000000..43ed2bdfc
--- /dev/null
+++ b/tests/lang/eval-fail-to-path.err.exp
@@ -0,0 +1,14 @@
+error:
+ … while calling the 'toPath' builtin
+
+ at /pwd/lang/eval-fail-to-path.nix:1:1:
+
+ 1| builtins.toPath "foo/bar"
+ | ^
+ 2|
+
+ … while evaluating the first argument passed to builtins.toPath
+
+ at «none»:0: (source not available)
+
+ error: string 'foo/bar' doesn't represent an absolute path