make tests green

This commit is contained in:
Andreas Rumpf 2018-05-05 11:55:53 +02:00
commit d8fde9daba
6 changed files with 17 additions and 17 deletions

View file

@ -3,7 +3,7 @@ discard """
"""
import tables
from hashes import THash
from hashes import Hash
# Test with int
block:
@ -66,7 +66,7 @@ block:
# The same test with a custom hash(s: string) does
# work though.
block:
proc hash(x: int): THash {.inline.} =
proc hash(x: int): Hash {.inline.} =
echo "overloaded hash"
result = x
var t = initTable[int, int]()