summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/stdlib/trepr.nim8
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/stdlib/trepr.nim b/tests/stdlib/trepr.nim
index 86f3dee30..356764903 100644
--- a/tests/stdlib/trepr.nim
+++ b/tests/stdlib/trepr.nim
@@ -193,10 +193,8 @@ proc `foo bar baz`(): int =
     let a = deb:
       proc `foo=`() = discard
     doAssert a == """
-
 proc `foo=`() =
-  discard
-"""
+  discard"""
 
   block: # bug #14850
     block:
@@ -221,7 +219,6 @@ proc `foo=`() =
             4)
 
       doAssert a == """
-
 template bar(): untyped =
   foo1:
     discard
@@ -244,8 +241,7 @@ template bar(): untyped =
     4
   a.add(foo7 do:
     echo "baz"
-    4)
-"""
+    4)"""
 
 static: main()
 main()