make tests green again
This commit is contained in:
parent
661ce8b8cb
commit
d12edeeba1
1 changed files with 2 additions and 2 deletions
|
|
@ -1849,8 +1849,8 @@ when isMainModule:
|
|||
discard parseJson"""{ invalid"""
|
||||
except:
|
||||
discard
|
||||
# memory diff should less than 2M
|
||||
doAssert(abs(getOccupiedMem() - startMemory) < 2 * 1024 * 1024)
|
||||
# memory diff should less than 4M
|
||||
doAssert(abs(getOccupiedMem() - startMemory) < 4 * 1024 * 1024)
|
||||
|
||||
|
||||
# test `$`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue