aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-dupAttr-inherit.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-fail-dupAttr-inherit.err.exp')
-rw-r--r--tests/functional/lang/eval-fail-dupAttr-inherit.err.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-dupAttr-inherit.err.exp b/tests/functional/lang/eval-fail-dupAttr-inherit.err.exp
new file mode 100644
index 000000000..7744b838f
--- /dev/null
+++ b/tests/functional/lang/eval-fail-dupAttr-inherit.err.exp
@@ -0,0 +1,5 @@
+error: attribute 'a' already defined at /pwd/lang/eval-fail-dupAttr-inherit.nix:1:15
+ at /pwd/lang/eval-fail-dupAttr-inherit.nix:1:19:
+ 1| { inherit ({}) a; a.b = 1; }
+ | ^
+ 2|