tests: move fixtures to dedicated dir
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9d6ce6a264780f215b1b57d947b5264c6a6a6964
This commit is contained in:
parent
2a005574d3
commit
2c9ad890b2
41 changed files with 134 additions and 94 deletions
15
tests/fixtures/dynamic_attrs.nix
vendored
Normal file
15
tests/fixtures/dynamic_attrs.nix
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Test dynamic attribute names
|
||||
# Note: Full dynamic attrs require runtime evaluation
|
||||
# For now, testing that syntax is recognized
|
||||
let
|
||||
key = "mykey";
|
||||
in {
|
||||
# Static attribute for comparison
|
||||
static = "value";
|
||||
|
||||
# Dynamic attribute name (basic string interpolation)
|
||||
# "${key}" = "dynamic_value";
|
||||
|
||||
# For now, use workaround with static names
|
||||
mykey = "works";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue