diff options
Diffstat (limited to 'test/testdata/eval-fail-undeclared-arg.err.exp')
-rw-r--r-- | test/testdata/eval-fail-undeclared-arg.err.exp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-undeclared-arg.err.exp b/test/testdata/eval-fail-undeclared-arg.err.exp new file mode 100644 index 0000000..6e13a13 --- /dev/null +++ b/test/testdata/eval-fail-undeclared-arg.err.exp | |||
@@ -0,0 +1,13 @@ | |||
1 | error: | ||
2 | … from call site | ||
3 | at /pwd/lang/eval-fail-undeclared-arg.nix:1:1: | ||
4 | 1| ({x, z}: x + z) {x = "foo"; y = "bla"; z = "bar";} | ||
5 | | ^ | ||
6 | 2| | ||
7 | |||
8 | error: function 'anonymous lambda' called with unexpected argument 'y' | ||
9 | at /pwd/lang/eval-fail-undeclared-arg.nix:1:2: | ||
10 | 1| ({x, z}: x + z) {x = "foo"; y = "bla"; z = "bar";} | ||
11 | | ^ | ||
12 | 2| | ||
13 | Did you mean one of x or z? | ||