about summary refs log tree commit diff
path: root/tests/lang
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-06-10T12·02+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-06-10T12·02+0200
commitee7fe64c0ac00f2be11604a2a6509eb86dc19f0a (patch)
tree2e27bc6d75ca28f3a8f598373b6fa716314b8aae /tests/lang
parentb1beed97a0670befbfd5e105a81132e87e58ac37 (diff)
== operator: Ignore string context
There really is no case I can think of where taking the context into
account is useful. Mostly it's just very inconvenient.
Diffstat (limited to 'tests/lang')
-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 b3f1748975..8cd8f2e131 100644
--- a/tests/lang/eval-okay-context.nix
+++ b/tests/lang/eval-okay-context.nix
@@ -1,6 +1,6 @@
 let s = "foo ${builtins.substring 33 100 (baseNameOf ./eval-okay-context.nix)} bar";
 in
-  if s == "foo eval-okay-context.nix bar"
+  if s != "foo eval-okay-context.nix bar"
   then abort "context not discarded"
   else builtins.unsafeDiscardStringContext s