summary refs log tree commit diff stats
path: root/tests/float/tfloat7.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/float/tfloat7.nim')
-rw-r--r--tests/float/tfloat7.nim9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/float/tfloat7.nim b/tests/float/tfloat7.nim
index 2337d1dd4..a6d7af10b 100644
--- a/tests/float/tfloat7.nim
+++ b/tests/float/tfloat7.nim
@@ -1,16 +1,17 @@
 discard """
-  file: "tfloat6.nim"
-  output: '''passed.
+output: '''
 passed.
 passed.
 passed.
 passed.
 passed.
-passed.'''
+passed.
+passed.
+'''
 """
 
 import strutils
-template expect_fail(x: expr) =
+template expect_fail(x) =
   try:
     discard x
     echo("expected to fail!")