summary refs log tree commit diff stats
path: root/tests/effects
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-09-22 01:25:13 +0200
committerAraq <rumpf_a@web.de>2014-09-22 01:25:13 +0200
commit1a3b730bf5a2e5978d2dad3d8fb4c157134535e7 (patch)
tree7a7b23ba1232224ee57a91e3550b3ee4f0a8c551 /tests/effects
parented3c5094845d5674279c1fd8bdf4da27a0eed561 (diff)
downloadNim-1a3b730bf5a2e5978d2dad3d8fb4c157134535e7.tar.gz
made tests green
Diffstat (limited to 'tests/effects')
-rw-r--r--tests/effects/teffects1.nim2
-rw-r--r--tests/effects/tgcsafe.nim3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/effects/teffects1.nim b/tests/effects/teffects1.nim
index bbae857ea..e6d38cbc2 100644
--- a/tests/effects/teffects1.nim
+++ b/tests/effects/teffects1.nim
@@ -1,5 +1,5 @@
 discard """
-  line: 2136
+  line: 2169
   file: "system.nim"
   errormsg: "can raise an unlisted exception: ref IOError"
 """
diff --git a/tests/effects/tgcsafe.nim b/tests/effects/tgcsafe.nim
index 87388238a..0d5109439 100644
--- a/tests/effects/tgcsafe.nim
+++ b/tests/effects/tgcsafe.nim
@@ -1,6 +1,7 @@
 discard """
-  line: 15
+  line: 16
   errormsg: "'mainUnsafe' is not GC-safe"
+  cmd: "nim $target --hints:on --threads:on $options $file"
 """
 
 proc mymap(x: proc ()) =
id='n180' href='#n180'>180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220