summary refs log tree commit diff stats
path: root/tests/gc/growobjcrash.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-08-05 11:42:38 +0200
committerGitHub <noreply@github.com>2018-08-05 11:42:38 +0200
commitc57e320c9486248a82c19d13e03178745d8eb53f (patch)
treef77f6a1e246cb37041756f1c1bb1059f30a08a3a /tests/gc/growobjcrash.nim
parentcc1fd50b2785cdb6ec14f283bc7d7ef87f64dd9e (diff)
downloadNim-c57e320c9486248a82c19d13e03178745d8eb53f.tar.gz
fixes 7833 (#8533)
* fixes #7833; still to-do: fix setLen
* make tests green again
* also fixes setLen and string concats; refs #7833
* change formating to avoid a compiler warning
* emit the write barrier also for addChar
* fixes yet another regression
* make setLengthStr compile for the old version
* make growobjcrash complete earlier
Diffstat (limited to 'tests/gc/growobjcrash.nim')
-rw-r--r--tests/gc/growobjcrash.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gc/growobjcrash.nim b/tests/gc/growobjcrash.nim
index a16468c7e..07f92b8f4 100644
--- a/tests/gc/growobjcrash.nim
+++ b/tests/gc/growobjcrash.nim
@@ -14,7 +14,7 @@ proc handleRequest(query: string): StringTableRef =
   let x = foo
   result = x()
 
-const Limit = when compileOption("gc", "markAndSweep"): 5*1024*1024 else: 700_000
+const Limit = 5*1024*1024
 
 proc main =
   var counter = 0