use doAssert in tests (#16486)

This commit is contained in:
flywind
2020-12-28 07:13:21 -06:00
committed by GitHub
parent f9a15dbae9
commit 6d442a40a6
78 changed files with 1056 additions and 1056 deletions

View File

@@ -60,12 +60,12 @@ block titerator1:
for key, val in fieldPairs(x):
echo key, ": ", val
assert x != y
assert x == x
assert(not (x < x))
assert x <= x
assert y < x
assert y <= x
doAssert x != y
doAssert x == x
doAssert(not (x < x))
doAssert x <= x
doAssert y < x
doAssert y <= x
block titerator2: