Files
lix/tests/functional2/lang/attrs/in-4.nix
T
piegames 5afda956a7 tests/functional2/lang: Some refactorings
I did a pass through all files, fixing bits that have annoyed me here
and there based on vibes. Roughly:

- Replaced some out values like bools or strings with lists where
appropriate. Those tests were likely older than the value printer
- Added some parser tests where it makes sense
- Gently touched some formatting woes, while trying to not cause too
much diff noise
- Removed some dead `with (import ./lib.nix);` code

Change-Id: I8c40b2110f0b7799f68ae38ba61f049c5f1f6ee8
2026-04-19 16:07:54 +02:00

15 lines
172 B
Nix

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)
]