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

@ -1,7 +1,7 @@
import tables
type
TX = TTable[string, int]
TX = Table[string, int]
proc foo(models: seq[TX]): seq[int] =
result = @[]
@ -9,7 +9,7 @@ proc foo(models: seq[TX]): seq[int] =
result.add model["foobar"]
type
obj = object
field: TTable[string, string]
Obj = object
field: Table[string, string]
var t: Obj
discard initTable[type(t.field), string]()