summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/showoff/tdrdobbs_examples.nim2
-rw-r--r--tests/stdlib/tmongo.nim16
-rw-r--r--tests/threads/tthreadanalysis.nim4
-rw-r--r--tests/vm/trgba.nim2
4 files changed, 5 insertions, 19 deletions
diff --git a/tests/showoff/tdrdobbs_examples.nim b/tests/showoff/tdrdobbs_examples.nim
index d1e0585d2..0b3d86a05 100644
--- a/tests/showoff/tdrdobbs_examples.nim
+++ b/tests/showoff/tdrdobbs_examples.nim
@@ -1,7 +1,7 @@
 discard """
   output: '''108
 11 -1 1936
-4.000000000000002-e001
+4.0000000000000002e-001
 true
 truefalse'''
 """
diff --git a/tests/stdlib/tmongo.nim b/tests/stdlib/tmongo.nim
deleted file mode 100644
index 1c4c0f4e6..000000000
--- a/tests/stdlib/tmongo.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-
-import mongo, db_mongo, oids, json
-
-var conn = db_mongo.open()
-
-var data = %{"a": %13, "b": %"my string value", 
-             "inner": %{"i": %71} }
-
-var id = insertID(conn, "test.test", data)
-
-for v in find(conn, "test.test", "this.a == 13"):
-  print v
-
-delete(conn, "test.test", id)
-
-close(conn)
diff --git a/tests/threads/tthreadanalysis.nim b/tests/threads/tthreadanalysis.nim
index 4edd51025..3a46cd185 100644
--- a/tests/threads/tthreadanalysis.nim
+++ b/tests/threads/tthreadanalysis.nim
@@ -1,5 +1,7 @@
 discard """
   outputsub: "101"
+  msg: "Warning: write to foreign heap"
+  line: 37
   cmd: "nimrod cc --hints:on --threads:on $# $#"
 """
 
@@ -8,7 +10,7 @@ import os
 var
   thr: array [0..5, TThread[tuple[a, b: int]]]
 
-proc doNothing() = nil
+proc doNothing() = discard
 
 type
   PNode = ref TNode
diff --git a/tests/vm/trgba.nim b/tests/vm/trgba.nim
index ec79f6aca..b1d94702f 100644
--- a/tests/vm/trgba.nim
+++ b/tests/vm/trgba.nim
@@ -6,7 +6,7 @@ discard """
 
 #bug #1009
 type
-  TAggRgba8* = array[4, byte]
+  TAggRgba8* = array[4, Byte]
 
 template R*(self: TAggRgba8): Byte = self[0]   
 template G*(self: TAggRgba8): Byte = self[1]