summary refs log tree commit diff stats
path: root/nimpretty/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-10-23 17:48:58 +0200
committerAraq <rumpf_a@web.de>2018-10-23 17:52:18 +0200
commit72370c8dfab35b46c8aa5f1647d8c7a61b85a68e (patch)
tree6be9ebf22034b38c91353902d45b685666cec575 /nimpretty/tests
parent695074214b0e6348db73b71cbd2090da08106fd4 (diff)
downloadNim-72370c8dfab35b46c8aa5f1647d8c7a61b85a68e.tar.gz
closes #9400
Diffstat (limited to 'nimpretty/tests')
-rw-r--r--nimpretty/tests/expected/simple2.nim5
-rw-r--r--nimpretty/tests/simple2.nim5
2 files changed, 10 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/simple2.nim b/nimpretty/tests/expected/simple2.nim
index e265aaff0..99b48e543 100644
--- a/nimpretty/tests/expected/simple2.nim
+++ b/nimpretty/tests/expected/simple2.nim
@@ -2,3 +2,8 @@
 var x: int = 2
 
 echo x
+
+proc fun*() =
+  echo "ok"
+  ## doc comment
+  # regular comment
diff --git a/nimpretty/tests/simple2.nim b/nimpretty/tests/simple2.nim
index e265aaff0..d07885fc5 100644
--- a/nimpretty/tests/simple2.nim
+++ b/nimpretty/tests/simple2.nim
@@ -2,3 +2,8 @@
 var x: int = 2
 
 echo x
+
+proc fun*()=
+  echo "ok"
+  ## doc comment
+  # regular comment