add path antiqutations test
This commit is contained in:
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"};
|
||||
}
|
||||
Reference in New Issue
Block a user