tests: move fixtures to dedicated dir

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I9d6ce6a264780f215b1b57d947b5264c6a6a6964
This commit is contained in:
raf 2026-02-23 02:24:48 +03:00
commit ae505188fc
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
75 changed files with 478 additions and 438 deletions

20
tests/fixtures/inherit.nix vendored Normal file
View file

@ -0,0 +1,20 @@
# Test inherit keyword
let
x = 10;
y = 20;
attrs = {
a = 1;
b = 2;
c = 3;
};
in {
# Basic inherit from outer scope
inherit x y;
# Inherit from expression
inherit (attrs) a b;
# Mixed
z = 30;
inherit (attrs) c;
}