From ba61dfd69504ec6263a9dee9931d93adeb6f3142 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Mon, 7 Jul 2025 21:52:08 +0200 Subject: Initialize repository --- test/testdata/eval-fail-assert.err.exp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 test/testdata/eval-fail-assert.err.exp (limited to 'test/testdata/eval-fail-assert.err.exp') diff --git a/test/testdata/eval-fail-assert.err.exp b/test/testdata/eval-fail-assert.err.exp new file mode 100644 index 0000000..7be9e23 --- /dev/null +++ b/test/testdata/eval-fail-assert.err.exp @@ -0,0 +1,30 @@ +error: + … while evaluating the attribute 'body' + at /pwd/lang/eval-fail-assert.nix:4:3: + 3| + 4| body = x "x"; + | ^ + 5| } + + … from call site + at /pwd/lang/eval-fail-assert.nix:4:10: + 3| + 4| body = x "x"; + | ^ + 5| } + + … while calling 'x' + at /pwd/lang/eval-fail-assert.nix:2:7: + 1| let { + 2| x = arg: assert arg == "y"; 123; + | ^ + 3| + + … while evaluating the condition of the assertion '(arg == "y")' + at /pwd/lang/eval-fail-assert.nix:2:12: + 1| let { + 2| x = arg: assert arg == "y"; 123; + | ^ + 3| + + error: string '"x"' is not equal to string '"y"' -- cgit v1.2.3