diff options
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) |