small fixes for tests on windows

This commit is contained in:
Araq 2012-01-31 00:05:25 +01:00
commit e4a4588b48
5 changed files with 15 additions and 13 deletions

View file

@ -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"