mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
add path antiqutations test
This commit is contained in:
parent
8f9429dcab
commit
624162c729
1 changed files with 12 additions and 0 deletions
12
tests/lang/eval-okay-path-antiquotation.nix
Normal file
12
tests/lang/eval-okay-path-antiquotation.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
let
|
||||||
|
foo = "foo";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
simple = ./${foo};
|
||||||
|
surrounded = ./a-${foo}-b;
|
||||||
|
absolute = /${foo};
|
||||||
|
expr = ./${foo + "/bar"};
|
||||||
|
home = ~/${foo};
|
||||||
|
notfirst = ./bar/${foo};
|
||||||
|
slashes = /${foo}/${"bar"};
|
||||||
|
}
|
Loading…
Reference in a new issue