diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-05-05 11:55:53 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-05-05 21:45:07 +0200 |
commit | d8fde9daba32019a35933cb97f482de5cf3669fa (patch) | |
tree | 8a53242507f9be2d9ce2df3be112687fd64bafb7 /tests/collections | |
parent | bbb0fd4eb734ed1a0445865077c27b05b46d0cbd (diff) | |
download | Nim-d8fde9daba32019a35933cb97f482de5cf3669fa.tar.gz |
make tests green
Diffstat (limited to 'tests/collections')
-rw-r--r-- | tests/collections/thashes.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/collections/thashes.nim b/tests/collections/thashes.nim index 76b99313c..5cc3cc8bb 100644 --- a/tests/collections/thashes.nim +++ b/tests/collections/thashes.nim @@ -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]() |