diff options
Diffstat (limited to 'tests/functional/lang/eval-fail-print-limit-set.err.exp')
-rw-r--r-- | tests/functional/lang/eval-fail-print-limit-set.err.exp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/functional/lang/eval-fail-print-limit-set.err.exp b/tests/functional/lang/eval-fail-print-limit-set.err.exp new file mode 100644 index 000000000..c5086fb76 --- /dev/null +++ b/tests/functional/lang/eval-fail-print-limit-set.err.exp @@ -0,0 +1,12 @@ +error: + … in the condition of the assert statement + at /pwd/lang/eval-fail-print-limit-set.nix:1:1: + 1| assert ( + | ^ + 2| let x = { a.a.a.a.a.a.a.a.a = { a.a = 1; b = 2; }; a.b.c.x = 3; c = 4; }; + + error: expected a Boolean but found a set: { a = { a = { a = { a = { a = { a = { a = { a = { a = { a = { ... }; b = 2; }; }; }; }; }; }; }; }; «1 attribute elided» }; «1 attribute elided» } + at /pwd/lang/eval-fail-print-limit-set.nix:1:1: + 1| assert ( + | ^ + 2| let x = { a.a.a.a.a.a.a.a.a = { a.a = 1; b = 2; }; a.b.c.x = 3; c = 4; }; |