summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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