summary refs log tree commit diff stats
path: root/tests/threads
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-13 01:16:18 +0200
committerAraq <rumpf_a@web.de>2014-08-13 01:16:18 +0200
commit62e454f41beb5a742dbb8137198629fdc1f1153a (patch)
tree5ccaa6a4ad8e6445cf96b2b0dbb78c90d74c4d0d /tests/threads
parent9e772a80f3d390dc4605081c29ac17aadc0a8d2c (diff)
downloadNim-62e454f41beb5a742dbb8137198629fdc1f1153a.tar.gz
asynchttpserver compiles again; made some tests green
Diffstat (limited to 'tests/threads')
-rw-r--r--tests/threads/tthreadanalysis.nim4
-rw-r--r--tests/threads/tthreadheapviolation1.nim4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/threads/tthreadanalysis.nim b/tests/threads/tthreadanalysis.nim
index 383680d81..37369b79c 100644
--- a/tests/threads/tthreadanalysis.nim
+++ b/tests/threads/tthreadanalysis.nim
@@ -1,7 +1,7 @@
 discard """
   outputsub: "101"
-  msg: "Warning: write to foreign heap"
-  line: 37
+  errormsg: "'threadFunc' is not GC-safe"
+  line: 39
   cmd: "nimrod $target --hints:on --threads:on $options $file"
 """
 
diff --git a/tests/threads/tthreadheapviolation1.nim b/tests/threads/tthreadheapviolation1.nim
index f3a36e036..e0629ed08 100644
--- a/tests/threads/tthreadheapviolation1.nim
+++ b/tests/threads/tthreadheapviolation1.nim
@@ -1,6 +1,6 @@
 discard """
-  line: 12
-  errormsg: "write to foreign heap"
+  line: 11
+  errormsg: "'horrible' is not GC-safe"
   cmd: "nimrod $target --hints:on --threads:on $options $file"
 """