summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-11-17 00:45:40 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-11-17 00:45:40 +0100
commitd12edeeba10e4259ed9e00d1cf8cbed0b437a5ec (patch)
treee99b027fad4c035450a0cbf90791c7ee1f8002b1 /lib
parent661ce8b8cbf6d1a2f17934d0998bb630e3a95900 (diff)
downloadNim-d12edeeba10e4259ed9e00d1cf8cbed0b437a5ec.tar.gz
make tests green again
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/json.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/json.nim b/lib/pure/json.nim
index 3d86cc9d7..cea485c43 100644
--- a/lib/pure/json.nim
+++ b/lib/pure/json.nim
@@ -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 `$`