From fcbe6118996f77ee1fa68dc4419a8870ecb761e7 Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 4 Nov 2018 13:16:21 +0100 Subject: [PATCH] make some tests green again --- tests/misc/tnoop.nim | 7 +++---- tests/types/taliasbugs.nim | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/misc/tnoop.nim b/tests/misc/tnoop.nim index 7b07759d1e..edc104f050 100644 --- a/tests/misc/tnoop.nim +++ b/tests/misc/tnoop.nim @@ -1,10 +1,9 @@ discard """ - nimout: ''' - found 'a' of kind 'var' - ''' + + file: "tnoop.nim" line: 13 - errormsg: "attempting to call routine: 'a'" + errormsg: "attempting to call undeclared routine: 'a'" """ diff --git a/tests/types/taliasbugs.nim b/tests/types/taliasbugs.nim index bdb2a7a32c..06d9aef515 100644 --- a/tests/types/taliasbugs.nim +++ b/tests/types/taliasbugs.nim @@ -158,7 +158,7 @@ when true: var xx = xs.mapIt(asFoo($(it + 5))) -block t4674: +when false: type FooObj[T] = object v: T