mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
test: Fix shifted source positions after formatting
This commit is contained in:
parent
32aed360b8
commit
f629d81df0
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