diff options
Diffstat (limited to 'test/testdata/eval-fail-remove.err.exp')
-rw-r--r-- | test/testdata/eval-fail-remove.err.exp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/testdata/eval-fail-remove.err.exp b/test/testdata/eval-fail-remove.err.exp new file mode 100644 index 0000000..292b3c3 --- /dev/null +++ b/test/testdata/eval-fail-remove.err.exp | |||
@@ -0,0 +1,15 @@ | |||
1 | error: | ||
2 | … while evaluating the attribute 'body' | ||
3 | at /pwd/lang/eval-fail-remove.nix:4:3: | ||
4 | 3| | ||
5 | 4| body = (removeAttrs attrs ["x"]).x; | ||
6 | | ^ | ||
7 | 5| } | ||
8 | |||
9 | error: attribute 'x' missing | ||
10 | at /pwd/lang/eval-fail-remove.nix:4:10: | ||
11 | 3| | ||
12 | 4| body = (removeAttrs attrs ["x"]).x; | ||
13 | | ^ | ||
14 | 5| } | ||
15 | Did you mean y? | ||