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