Remove testutils (#13435) [backport]

This commit is contained in:
Clyybber 2020-02-19 23:02:08 +01:00 • committed by GitHub
commit 87dd19453b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 20 deletions

View file

@ -8,7 +8,10 @@ And we get here
'''
joinable: false
"""
import hashes, sequtils, tables, algorithm, testutils
import hashes, sequtils, tables, algorithm
proc sortedPairs[T](t: T): auto = toSeq(t.pairs).sorted
template sortedItems(t: untyped): untyped = sorted(toSeq(t))
block tableDollar:
# other tests should use `sortedPairs` to be robust to future table/hash