Files
lix/tests/functional/lang/eval-fail-assert.err.exp
T
piegamesandCommentator2.0 e2944876cc tests/functional/lang: Change base path to the lang directory
Currently, all tests are relative to `./tests/functional` instead of
`./tests/functional/lang`. Whether this is a historical artefact or as
intended, the current move is to align the tests with the new design of
functional2, preparing them for an easier migration.

Change-Id: Ie394691b071488a8000a005080b9167786d5bd9a
2025-05-21 20:36:20 +02:00

22 lines
519 B
Plaintext

error:
… from call site
at /pwd/eval-fail-assert.nix:4:1:
3| in
4| x "x"
| ^
5|
… while calling 'x'
at /pwd/eval-fail-assert.nix:2:7:
1| let
2| x = arg: assert arg == "y"; 123;
| ^
3| in
error: assertion failed
at /pwd/eval-fail-assert.nix:2:12:
1| let
2| x = arg: assert arg == "y"; 123;
| ^
3| in