From 1105d0364401226a2d7d479bd89d77a9da9ed787 Mon Sep 17 00:00:00 2001 From: Arne Döring Date: Thu, 29 Nov 2018 16:07:51 +0100 Subject: require errormsg to be specified before file. --- tests/exception/tfinally2.nim | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'tests/exception/tfinally2.nim') diff --git a/tests/exception/tfinally2.nim b/tests/exception/tfinally2.nim index f1acf2774..dae1a468a 100644 --- a/tests/exception/tfinally2.nim +++ b/tests/exception/tfinally2.nim @@ -1,9 +1,10 @@ discard """ - file: "tfinally2.nim" - output: '''A +output: ''' +A B C -D''' +D +''' """ # Test break in try statement: @@ -24,7 +25,4 @@ proc main: int = finally: echo("D") -discard main() #OUT ABCD - - - +discard main() -- cgit 1.4.1-2-gfad0