summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-03-29 21:44:33 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-03-29 21:44:42 +0200
commitdd613adcfe53726d07782166e0805284598033da (patch)
treee8ed8398617cf47dd7ed9beb845a7cddf7618638 /tests
parent13a83c7fdd92af9cda38c0c9cfafe2d555b34206 (diff)
downloadNim-dd613adcfe53726d07782166e0805284598033da.tar.gz
made tests green again
Diffstat (limited to 'tests')
-rw-r--r--tests/ccgbugs/tstringslice.nim3
-rw-r--r--tests/typerel/tregionptrs.nim2
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/ccgbugs/tstringslice.nim b/tests/ccgbugs/tstringslice.nim
index f6f64bebc..0ff448dcf 100644
--- a/tests/ccgbugs/tstringslice.nim
+++ b/tests/ccgbugs/tstringslice.nim
@@ -1,13 +1,10 @@
 discard """
   output: '''1
 1234
-1234
 2
 234
-234
 3
 34
-34
 4
 4'''
 """
diff --git a/tests/typerel/tregionptrs.nim b/tests/typerel/tregionptrs.nim
index 69a93a107..a8d2e7a6d 100644
--- a/tests/typerel/tregionptrs.nim
+++ b/tests/typerel/tregionptrs.nim
@@ -1,6 +1,6 @@
 discard """
   line: 16
-  errormsg: "type mismatch: got (BPtr) but expected 'APtr'"
+  errormsg: "type mismatch: got (BPtr) but expected 'APtr = ptr[RegionA, int]'"
 """
 
 type