forked from lix-project/lix
add path antiqutations test
This commit is contained in:
parent
8f9429dcab
commit
624162c729
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