mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 00:32:28 +00:00
* Test for expression dereferencing.
This commit is contained in:
parent
6656993f83
commit
7a96da3627
1
src/test-expr-1.nix
Normal file
1
src/test-expr-1.nix
Normal file
@ -0,0 +1 @@
|
||||
Str("Hello World")
|
@ -85,7 +85,7 @@ void runTests()
|
||||
|
||||
evalTest(e2);
|
||||
|
||||
Hash h3 = addValue("./test-expr.nix");
|
||||
Hash h3 = addValue("./test-expr-1.nix");
|
||||
Expr e3 = ATmake("Deref(Hash(<str>))", ((string) h3).c_str());
|
||||
|
||||
evalTest(e3);
|
||||
|
Loading…
Reference in New Issue
Block a user