* 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);
|
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());
|
Expr e3 = ATmake("Deref(Hash(<str>))", ((string) h3).c_str());
|
||||||
|
|
||||||
evalTest(e3);
|
evalTest(e3);
|
||||||
|
|
Loading…
Reference in a new issue