diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-12-01 12:12:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 21:12:40 +0100 |
commit | e0b4f05053e87b5b498c53338eed643787783b18 (patch) | |
tree | 4a7b9b5f1a43436a6686b8e4ab4e2c8b2ba66d70 /tests/casestmt | |
parent | 62eb1312a099aeae0115beb038ed8449ccd095a7 (diff) | |
download | Nim-e0b4f05053e87b5b498c53338eed643787783b18.tar.gz |
nimout now consistently uses nimoutCheck (#16189)
Diffstat (limited to 'tests/casestmt')
-rw-r--r-- | tests/casestmt/tcaseexpr1.nim | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/casestmt/tcaseexpr1.nim b/tests/casestmt/tcaseexpr1.nim index 82af2410b..4f5bbf100 100644 --- a/tests/casestmt/tcaseexpr1.nim +++ b/tests/casestmt/tcaseexpr1.nim @@ -3,18 +3,18 @@ discard """ action: "reject" nimout: ''' tcaseexpr1.nim(33, 10) Error: not all cases are covered; missing: {C} +tcaseexpr1.nim(39, 12) Error: type mismatch: got <string> but expected 'int literal(10)' ''' """ -#[ -# xxx make nimout comparison use nimoutCheck instead of: -elif expected.nimout.len > 0 and expected.nimout.normalizeMsg notin given.nimout.normalizeMsg: -and then use nimout: ''' -tcaseexpr1.nim(33, 10) Error: not all cases are covered2; missing: {C} -tcaseexpr1.nim(39, 12) Error: type mismatch: got <string> but expected 'int literal(10)' -''' -]# + + + + + + + # line 20 |