summary refs log tree commit diff stats
path: root/nimpretty/tests/simple.nim
diff options
context:
space:
mode:
authorClyybber <darkmine956@gmail.com>2020-10-20 01:19:49 +0200
committerGitHub <noreply@github.com>2020-10-20 01:19:49 +0200
commitf20e485827df6df97b8396558b10d7c59ca1b7dc (patch)
tree29ec160039b666c96d11a91698cdf51c5543adac /nimpretty/tests/simple.nim
parent0f4b1ed270a0f0c380122723474ec0d36c1a7e00 (diff)
downloadNim-f20e485827df6df97b8396558b10d7c59ca1b7dc.tar.gz
Fix commentOffsetA for doc comments (#15643)
Diffstat (limited to 'nimpretty/tests/simple.nim')
-rw-r--r--nimpretty/tests/simple.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/nimpretty/tests/simple.nim b/nimpretty/tests/simple.nim
index 5126658ea..435bd6bd2 100644
--- a/nimpretty/tests/simple.nim
+++ b/nimpretty/tests/simple.nim
@@ -11,3 +11,8 @@ proc a() =
 
   # comment 2
   discard
+
+# bug #15596
+discard## comment 3
+
+discard # comment 4