diff options
author | Araq <rumpf_a@web.de> | 2012-07-09 00:54:46 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-07-09 00:54:46 +0200 |
commit | 795afb0021094d069b5f77d4b7ba6c9e5fc5d803 (patch) | |
tree | 905751db016f88a7039b3b8d459990060edaa57b /tests/run | |
parent | f0dd96fa58478f732009def25f527d67d87e464c (diff) | |
download | Nim-795afb0021094d069b5f77d4b7ba6c9e5fc5d803.tar.gz |
made tests green again
Diffstat (limited to 'tests/run')
-rw-r--r-- | tests/run/tuserassert.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/run/tuserassert.nim b/tests/run/tuserassert.nim index 80748189f..8710ee486 100644 --- a/tests/run/tuserassert.nim +++ b/tests/run/tuserassert.nim @@ -1,5 +1,5 @@ discard """ - output: "454 == 45ugh" + output: "x == 45ugh" """ template myAssert(cond: expr) = @@ -8,6 +8,6 @@ template myAssert(cond: expr) = if not cond: echo c, "ugh" - -myAssert(454 == 45) +var x = 454 +myAssert(x == 45) |