aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-fail-bad-string-interpolation-1.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/eval-fail-bad-string-interpolation-1.err.exp')
-rw-r--r--tests/lang/eval-fail-bad-string-interpolation-1.err.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-bad-string-interpolation-1.err.exp b/tests/lang/eval-fail-bad-string-interpolation-1.err.exp
new file mode 100644
index 000000000..eb73e9a52
--- /dev/null
+++ b/tests/lang/eval-fail-bad-string-interpolation-1.err.exp
@@ -0,0 +1,10 @@
+error:
+ … while evaluating a path segment
+
+ at /pwd/lang/eval-fail-bad-string-interpolation-1.nix:1:2:
+
+ 1| "${x: x}"
+ | ^
+ 2|
+
+ error: cannot coerce a function to a string