aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-missing-arg.err.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/lang/eval-fail-missing-arg.err.exp')
-rw-r--r--tests/functional/lang/eval-fail-missing-arg.err.exp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-missing-arg.err.exp b/tests/functional/lang/eval-fail-missing-arg.err.exp
new file mode 100644
index 000000000..61fabf0d5
--- /dev/null
+++ b/tests/functional/lang/eval-fail-missing-arg.err.exp
@@ -0,0 +1,16 @@
+error:
+ … from call site
+
+ at /pwd/lang/eval-fail-missing-arg.nix:1:1:
+
+ 1| ({x, y, z}: x + y + z) {x = "foo"; z = "bar";}
+ | ^
+ 2|
+
+ error: function 'anonymous lambda' called without required argument 'y'
+
+ at /pwd/lang/eval-fail-missing-arg.nix:1:2:
+
+ 1| ({x, y, z}: x + y + z) {x = "foo"; z = "bar";}
+ | ^
+ 2|