mirror of
https://github.com/NixOS/nix
synced 2025-06-26 15:51:15 +02:00
test: Fix shifted source positions after formatting
This commit is contained in:
parent
2f1b70a529
commit
ae0bb7d71c
39 changed files with 332 additions and 319 deletions
|
@ -2,8 +2,8 @@ error:
|
|||
… while evaluating the condition of the assertion '((x: x) == (x: x))'
|
||||
at /pwd/lang/eval-fail-assert-equal-function-direct.nix:3:1:
|
||||
2| # This only compares a direct comparison and makes no claims about functions in nested structures.
|
||||
3| assert
|
||||
3| assert (x: x) == (x: x);
|
||||
| ^
|
||||
4| (x: x)
|
||||
4| abort "unreachable"
|
||||
|
||||
error: distinct functions and immediate comparisons of identical functions compare as unequal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue