From e0b4f05053e87b5b498c53338eed643787783b18 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Tue, 1 Dec 2020 12:12:40 -0800 Subject: nimout now consistently uses nimoutCheck (#16189) --- tests/casestmt/tcaseexpr1.nim | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/casestmt') 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 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 but expected 'int literal(10)' -''' -]# + + + + + + + # line 20 -- cgit 1.4.1-2-gfad0