mirror of
https://github.com/NixOS/nix
synced 2025-07-09 07:53:55 +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
|
@ -1,13 +1,13 @@
|
|||
error:
|
||||
… from call site
|
||||
at /pwd/lang/eval-fail-undeclared-arg.nix:1:1:
|
||||
1| ({x, z}: x + z) {x = "foo"; y = "bla"; z = "bar";}
|
||||
1| ({ x, z }: x + z) {
|
||||
| ^
|
||||
2|
|
||||
2| x = "foo";
|
||||
|
||||
error: function 'anonymous lambda' called with unexpected argument 'y'
|
||||
at /pwd/lang/eval-fail-undeclared-arg.nix:1:2:
|
||||
1| ({x, z}: x + z) {x = "foo"; y = "bla"; z = "bar";}
|
||||
1| ({ x, z }: x + z) {
|
||||
| ^
|
||||
2|
|
||||
2| x = "foo";
|
||||
Did you mean one of x or z?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue