mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
* More test coverage.
This commit is contained in:
parent
80b5c71684
commit
fa95f4be3f
7 changed files with 15 additions and 0 deletions
5
tests/lang/eval-okay-attrs.nix
Normal file
5
tests/lang/eval-okay-attrs.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
let {
|
||||
as = { x = 123; y = 456; } // { z = 789; } // { z = 987; };
|
||||
|
||||
body = if as ? a then as.a else assert as ? z; as.z;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue