mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +02:00
parent
d5c9315d84
commit
10d33452e2
4 changed files with 16 additions and 0 deletions
4
tests/lang/parse-fail-mixed-nested-attrs.nix
Normal file
4
tests/lang/parse-fail-mixed-nested-attrs.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
x = { y = 3; z = 3; };
|
||||||
|
x.z = 3;
|
||||||
|
}
|
4
tests/lang/parse-okay-mixed-nested-attrs-1.nix
Normal file
4
tests/lang/parse-okay-mixed-nested-attrs-1.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
x = { y = 3; z = 3; };
|
||||||
|
x.q = 3;
|
||||||
|
}
|
4
tests/lang/parse-okay-mixed-nested-attrs-2.nix
Normal file
4
tests/lang/parse-okay-mixed-nested-attrs-2.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
x.q = 3;
|
||||||
|
x = { y = 3; z = 3; };
|
||||||
|
}
|
4
tests/lang/parse-okay-nested-attrs.nix
Normal file
4
tests/lang/parse-okay-nested-attrs.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
x = { y = 3; z = 3; };
|
||||||
|
x.q = 3;
|
||||||
|
}
|
Loading…
Reference in a new issue