mirror of
https://github.com/NixOS/nix.git
synced 2025-11-17 16:02:43 +01:00
test: Fix shifted source positions after formatting
This commit is contained in:
parent
24c78e06cf
commit
c69579114b
44 changed files with 400 additions and 385 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