summary refs log tree commit diff stats
path: root/tests/exception/tfinally2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/exception/tfinally2.nim')
-rw-r--r--tests/exception/tfinally2.nim12
1 files changed, 5 insertions, 7 deletions
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()