diff options
author | EXetoC <exetoc@gmail.com> | 2014-03-31 21:38:35 +0200 |
---|---|---|
committer | EXetoC <exetoc@gmail.com> | 2014-03-31 21:38:35 +0200 |
commit | e69899fb49be720f00ddb03d03ba01128546f2be (patch) | |
tree | 5a344465be7915380cc024b89443e5ad93262512 | |
parent | 44ee8aecfd70d1d381b5eed5ae52b01fae04452b (diff) | |
download | Nim-e69899fb49be720f00ddb03d03ba01128546f2be.tar.gz |
Fix some 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 | ||||
-rw-r--r-- | tests/showoff/tdrdobbs_examples.nim | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/array/tarrayplus.nim b/tests/array/tarrayplus.nim index 9e08bbb0a..0ea349f4f 100644 --- a/tests/array/tarrayplus.nim +++ b/tests/array/tarrayplus.nim @@ -1,5 +1,5 @@ discard """ - errmsg: "type mismatch: got (array[0..2, float], array[0..1, float])" + errormsg: "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 38e7f6cd7..2ab8e724d 100644 --- a/tests/generics/tbadgenericlambda.nim +++ b/tests/generics/tbadgenericlambda.nim @@ -1,5 +1,5 @@ discard """ - errmsg: "nested proc can have generic parameters only when" + errormsg: "nested proc can have generic parameters only when" line: 6 """ diff --git a/tests/generics/tmetafield.nim b/tests/generics/tmetafield.nim index 8e7f26549..f2fac8fdd 100644 --- a/tests/generics/tmetafield.nim +++ b/tests/generics/tmetafield.nim @@ -1,8 +1,8 @@ discard """ cmd: "nimrod check $# $#" - errmsg: "'proc' is not a concrete type" - errmsg: "'Foo' is not a concrete type." - errmsg: "invalid type: 'TBaseMed'" + errormsg: "'proc' is not a concrete type" + errormsg: "'Foo' is not a concrete type." + errormsg: "invalid type: 'TBaseMed'" """ type diff --git a/tests/showoff/tdrdobbs_examples.nim b/tests/showoff/tdrdobbs_examples.nim index 0b3d86a05..8a39990ba 100644 --- a/tests/showoff/tdrdobbs_examples.nim +++ b/tests/showoff/tdrdobbs_examples.nim @@ -1,7 +1,7 @@ discard """ output: '''108 11 -1 1936 -4.0000000000000002e-001 +4.0000000000000002e-01 true truefalse''' """ |