From 7a96da3627220d11a985662446e8a75fb8cc2d40 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <e.dolstra@tudelft.nl>
Date: Tue, 17 Jun 2003 15:47:25 +0000
Subject: [PATCH] * Test for expression dereferencing.

---
 src/test-expr-1.nix | 1 +
 src/test.cc         | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 src/test-expr-1.nix

diff --git a/src/test-expr-1.nix b/src/test-expr-1.nix
new file mode 100644
index 000000000..a94ee7382
--- /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 39d4b333f..334e409de 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);
-- 
GitLab