diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/array/tarrayplus.nim | 2 | ||||
-rw-r--r-- | tests/generics/tbadgenericlambda.nim | 2 | ||||
-rw-r--r-- | tests/generics/tmetafield.nim | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/array/tarrayplus.nim b/tests/array/tarrayplus.nim index 8c7452e85..9e08bbb0a 100644 --- a/tests/array/tarrayplus.nim +++ b/tests/array/tarrayplus.nim @@ -1,5 +1,5 @@ discard """ - msg: "type mismatch: got (array[0..2, float], array[0..1, float])" + errmsg: "type mismatch: got (array[0..2, float], array[0..1, float])" """ proc `+`*[R, T] (v1, v2: array[R, T]): array[R, T] = diff --git a/tests/generics/tbadgenericlambda.nim b/tests/generics/tbadgenericlambda.nim index 5e406cacc..38e7f6cd7 100644 --- a/tests/generics/tbadgenericlambda.nim +++ b/tests/generics/tbadgenericlambda.nim @@ -1,5 +1,5 @@ discard """ - msg: "nested proc can have generic parameters only when" + errmsg: "nested proc can have generic parameters only when" line: 6 """ diff --git a/tests/generics/tmetafield.nim b/tests/generics/tmetafield.nim index 42353006d..8e7f26549 100644 --- a/tests/generics/tmetafield.nim +++ b/tests/generics/tmetafield.nim @@ -1,8 +1,8 @@ discard """ cmd: "nimrod check $# $#" - msg: "'proc' is not a concrete type" - msg: "'Foo' is not a concrete type." - msg: "invalid type: 'TBaseMed'" + errmsg: "'proc' is not a concrete type" + errmsg: "'Foo' is not a concrete type." + errmsg: "invalid type: 'TBaseMed'" """ type |