diff options
Diffstat (limited to 'nimpretty/tests/wrong_ind.nim')
-rw-r--r-- | nimpretty/tests/wrong_ind.nim | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nimpretty/tests/wrong_ind.nim b/nimpretty/tests/wrong_ind.nim new file mode 100644 index 000000000..0559673f8 --- /dev/null +++ b/nimpretty/tests/wrong_ind.nim @@ -0,0 +1,24 @@ + +# bug #9505 + +import std/[ + strutils, ospaths, os +] +import pkg/[ + regex +] + +proc fun() = + let a = [ + 1, + 2, + ] + discard + +proc funB() = + let a = [ + 1, + 2, + 3 + ] + discard |