about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-06-17T15·47+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-06-17T15·47+0000
commit7a96da3627220d11a985662446e8a75fb8cc2d40 (patch)
tree4ab2c0ffe44bbf6746ca8d97e41d55a7a91a2a72
parent6656993f83fa125e7b72de3962fbb5dd71cc31a4 (diff)
* Test for expression dereferencing.
-rw-r--r--src/test-expr-1.nix1
-rw-r--r--src/test.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/test-expr-1.nix b/src/test-expr-1.nix
new file mode 100644
index 000000000000..a94ee73828d9
--- /dev/null
+++ b/src/test-expr-1.nix
@@ -0,0 +1 @@
+Str("Hello World")
diff --git a/src/test.cc b/src/test.cc
index 39d4b333fa2f..334e409de39c 100644
--- a/src/test.cc
+++ b/src/test.cc
@@ -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);