1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 13:03:55 +02:00

test: Fix shifted source positions after formatting

This commit is contained in:
Robert Hensing 2025-01-24 22:21:27 +01:00
parent 32aed360b8
commit f629d81df0
44 changed files with 400 additions and 385 deletions

View file

@ -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?