about summary refs log tree commit diff
path: root/tests/lang/eval-okay-context.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-10-19T00·34-0400
committerShea Levy <shea@shealevy.com>2014-10-19T00·34-0400
commitc9bd6a1de41eb7f137e628df4a127ac8941ec07d (patch)
treeef657a77c288d237f03050d4046a09558db331c5 /tests/lang/eval-okay-context.nix
parent0ee1ca628affcf992f3ec0cd0c9344fd825b9825 (diff)
Fix context test
Diffstat (limited to 'tests/lang/eval-okay-context.nix')
-rw-r--r--tests/lang/eval-okay-context.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/eval-okay-context.nix b/tests/lang/eval-okay-context.nix
index 8cd8f2e131d8..7b9531cfe9e1 100644
--- a/tests/lang/eval-okay-context.nix
+++ b/tests/lang/eval-okay-context.nix
@@ -1,4 +1,4 @@
-let s = "foo ${builtins.substring 33 100 (baseNameOf ./eval-okay-context.nix)} bar";
+let s = "foo ${builtins.substring 33 100 (baseNameOf "${./eval-okay-context.nix}")} bar";
 in
   if s != "foo eval-okay-context.nix bar"
   then abort "context not discarded"