mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
* Test case.
This commit is contained in:
parent
5637037802
commit
5580f3817c
1
tests/lang/eval-okay-attrs4.exp
Normal file
1
tests/lang/eval-okay-attrs4.exp
Normal file
@ -0,0 +1 @@
|
||||
[ true false true false false true false false ]
|
7
tests/lang/eval-okay-attrs4.nix
Normal file
7
tests/lang/eval-okay-attrs4.nix
Normal file
@ -0,0 +1,7 @@
|
||||
let
|
||||
|
||||
as = { x.y.z = 123; a.b.c = 456; };
|
||||
|
||||
bs = null;
|
||||
|
||||
in [ (as ? x) (as ? y) (as ? x.y.z) (as ? x.y.z.a) (as ? x.y.a) (as ? a.b.c) (bs ? x) (bs ? x.y.z) ]
|
Loading…
Reference in New Issue
Block a user