make tests green

This commit is contained in:
Araq 2014-08-31 15:15:26 +02:00
commit 30823c1ce3
44 changed files with 415 additions and 403 deletions

View file

@ -5,16 +5,16 @@ discard """
"""
# BUG: following compiles, but should not:
proc nodeOfDegree(x: Int): bool =
proc nodeOfDegree(x: int): bool =
result = false
proc main =
for j in 0..2:
for i in 0..10:
if not nodeOfDegree(1) >= 0: #ERROR_MSG type mismatch
Echo "Yes"
echo "Yes"
else:
Echo "No"
echo "No"
main()