hashes: quickfix one test

This commit is contained in:
narimiran 2019-05-27 20:46:33 +02:00
commit 247fa431de

View file

@ -346,7 +346,7 @@ when isMainModule:
block smallSize: # no multibyte hashing block smallSize: # no multibyte hashing
let let
xx = @['H','e','l','l','o'] xx = @['H','e','l','l','o']
ii = @[72, 101, 108, 108, 111] ii = @[72'i8, 101, 108, 108, 111]
ss = "Hello" ss = "Hello"
doAssert hash(xx) == hash(ii) doAssert hash(xx) == hash(ii)
doAssert hash(xx) == hash(ss) doAssert hash(xx) == hash(ss)