summary refs log tree commit diff stats
path: root/nimpretty/tests/exhaustive.nim
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2019-07-07 20:13:10 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-07-07 20:13:10 +0200
commitd0616ed115840053f705a8bf45fa5cf566d3e2b1 (patch)
treeea7169b5b77c26584ccd853114b870a79fb1d751 /nimpretty/tests/exhaustive.nim
parent085a21ebf41e5eebe2a735cfad73c0767ab73755 (diff)
downloadNim-d0616ed115840053f705a8bf45fa5cf566d3e2b1.tar.gz
nimpretty: don't introduce extra spaces after a colon or a comma (#11672)
Diffstat (limited to 'nimpretty/tests/exhaustive.nim')
-rw-r--r--nimpretty/tests/exhaustive.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/nimpretty/tests/exhaustive.nim b/nimpretty/tests/exhaustive.nim
index 7a8ae6acc..11beedc27 100644
--- a/nimpretty/tests/exhaustive.nim
+++ b/nimpretty/tests/exhaustive.nim
@@ -728,3 +728,6 @@ type
     first, ## this is a long comment here, but please align it
     secondWithAVeryLongNameMightBreak, ## this is a short one
     thirdOne ## it's ok
+
+if true: # just one space before comment
+  echo 7