summary refs log tree commit diff stats
path: root/tests/run/tuserassert.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-01-31 00:05:25 +0100
committerAraq <rumpf_a@web.de>2012-01-31 00:05:25 +0100
commite4a4588b48a444c199106356cd048fe05604650e (patch)
tree2e6147acb036c4e661dc40e99c5d6dc939ac7a7b /tests/run/tuserassert.nim
parenta7e9ae55f4b3a71207c2cee2189e2cc584591d22 (diff)
downloadNim-e4a4588b48a444c199106356cd048fe05604650e.tar.gz
small fixes for tests on windows
Diffstat (limited to 'tests/run/tuserassert.nim')
-rw-r--r--tests/run/tuserassert.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/tuserassert.nim b/tests/run/tuserassert.nim
index cf12c4e8b..80748189f 100644
--- a/tests/run/tuserassert.nim
+++ b/tests/run/tuserassert.nim
@@ -3,7 +3,7 @@ discard """
 """
 
 template myAssert(cond: expr) = 
-  when rand(3) < 2:
+  when rand(3) < 3:
     let c = cond.astToStr
     if not cond:
       echo c, "ugh"