make tests green again

This commit is contained in:
Andreas Rumpf 2016-11-24 11:48:23 +01:00
commit bc9015df50
5 changed files with 23 additions and 12 deletions

View file

@ -3,7 +3,7 @@ discard """
WARNING: false first assertion from bar
ERROR: false second assertion from bar
-1
tests/assert/tfailedassert.nim:27 false assertion from foo
tfailedassert.nim:27 false assertion from foo
'''
"""

View file

@ -40,7 +40,7 @@ type
trailDelay*: float
body: chipmunk.PBody
shape: chipmunk.PShape
import vehicles
include vehicles
const
LGrabbable* = (1 shl 0).TLayers
LBorders* = (1 shl 1).TLayers

View file

@ -1,6 +1,6 @@
import
sfml, chipmunk,
sg_assets, sfml_stuff, "../keineschweine"
sg_assets, sfml_stuff#, "../keineschweine"
proc accel*(obj: PVehicle, dt: float) =

View file

@ -1,5 +1,5 @@
discard """
errormsg: "invalid declaration order; cannot attach 'step' to method defined here: tests/method/tmapper.nim(22,7)"
errormsg: "invalid declaration order; cannot attach 'step' to method defined here: tmapper.nim(22,7)"
line: 25
"""