diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-06-10 14:02:56 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-06-10 14:02:56 +0200 |
commit | ee7fe64c0ac00f2be11604a2a6509eb86dc19f0a (patch) | |
tree | 2e27bc6d75ca28f3a8f598373b6fa716314b8aae /tests | |
parent | b1beed97a0670befbfd5e105a81132e87e58ac37 (diff) | |
download | guix-ee7fe64c0ac00f2be11604a2a6509eb86dc19f0a.tar.gz |
== 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')
-rw-r--r-- | tests/lang/eval-okay-context.nix | 2 |
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 |