* Test for expression dereferencing.

This commit is contained in:
Eelco Dolstra 2003-06-17 15:47:25 +00:00
parent 6656993f83
commit 7a96da3627
2 changed files with 2 additions and 1 deletions

1
src/test-expr-1.nix Normal file
View file

@ -0,0 +1 @@
Str("Hello World")

View file

@ -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);