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