diff options
Diffstat (limited to 'tests/collections')
-rw-r--r-- | tests/collections/thashsets.nim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/collections/thashsets.nim b/tests/collections/thashsets.nim index bc387d292..4ab3a66b7 100644 --- a/tests/collections/thashsets.nim +++ b/tests/collections/thashsets.nim @@ -79,9 +79,8 @@ block hashForHashedSet: let seq1 = "This is the test." seq2 = "the test is This." - s1 = seq1.toSet() - s2 = seq2.toSet() - var hashSeq: seq[Hash] = @[] + s1 = seq1.toHashSet() + s2 = seq2.toHashSet() doAssert s1 == s2 doAssert hash(s1) == hash(s2) |