summary refs log tree commit diff stats
path: root/nimpretty/tests/expected
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-10-24 00:53:41 +0200
committerAraq <rumpf_a@web.de>2018-10-24 00:53:41 +0200
commite3a0415650b3b761a2a18907d2f0796c209ba4fa (patch)
tree79ce0dd6d0a24f2933d6bb0fd50a3a76e974b11c /nimpretty/tests/expected
parent72370c8dfab35b46c8aa5f1647d8c7a61b85a68e (diff)
downloadNim-e3a0415650b3b761a2a18907d2f0796c209ba4fa.tar.gz
nimpretty: fixes #9398
Diffstat (limited to 'nimpretty/tests/expected')
-rw-r--r--nimpretty/tests/expected/simple.nim3
-rw-r--r--nimpretty/tests/expected/simple2.nim6
2 files changed, 8 insertions, 1 deletions
diff --git a/nimpretty/tests/expected/simple.nim b/nimpretty/tests/expected/simple.nim
index 75f570bac..9e3c52f9b 100644
--- a/nimpretty/tests/expected/simple.nim
+++ b/nimpretty/tests/expected/simple.nim
@@ -1,4 +1,5 @@
 
 var x: int = 2
 
-echo x                        # bug #9144
+echo x
+# bug #9144
diff --git a/nimpretty/tests/expected/simple2.nim b/nimpretty/tests/expected/simple2.nim
index 99b48e543..f26a2f2ed 100644
--- a/nimpretty/tests/expected/simple2.nim
+++ b/nimpretty/tests/expected/simple2.nim
@@ -7,3 +7,9 @@ proc fun*() =
   echo "ok"
   ## doc comment
   # regular comment
+
+proc funB() =
+  echo "ok1"
+  # echo "ok2"
+
+fun()