mirror of
https://github.com/NixOS/nix.git
synced 2025-12-15 21:41:04 +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,13 +2,13 @@ error:
|
|||
… while evaluating the attribute 'set'
|
||||
at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:2:3:
|
||||
1| {
|
||||
2| set = { "${"" + "b"}" = 1; };
|
||||
2| set = {
|
||||
| ^
|
||||
3| set = { "${"b" + ""}" = 2; };
|
||||
3| "${"" + "b"}" = 1;
|
||||
|
||||
error: dynamic attribute 'b' already defined at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:2:11
|
||||
at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:3:11:
|
||||
2| set = { "${"" + "b"}" = 1; };
|
||||
3| set = { "${"b" + ""}" = 2; };
|
||||
| ^
|
||||
4| }
|
||||
error: dynamic attribute 'b' already defined at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:3:5
|
||||
at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:6:5:
|
||||
5| set = {
|
||||
6| "${"b" + ""}" = 2;
|
||||
| ^
|
||||
7| };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue