diff options
author | Miran <narimiran@disroot.org> | 2019-07-06 00:21:21 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-07-06 00:21:21 +0200 |
commit | 34c09a98c7ffc5210861a9d67add681b16049c40 (patch) | |
tree | 9ee9046a8a7840aec49ba2878e935a97203b501c /nimpretty/tests | |
parent | 7d5d9f7703901e092422d682f7ab21995cfa1122 (diff) | |
download | Nim-34c09a98c7ffc5210861a9d67add681b16049c40.tar.gz |
nimpretty: improved detection of commas and semicolons (#11661)
* nimpretty: improved detection of commas and semicolons * address the comments
Diffstat (limited to 'nimpretty/tests')
-rw-r--r-- | nimpretty/tests/expected/simple4.nim | 2 | ||||
-rw-r--r-- | nimpretty/tests/simple4.nim | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/simple4.nim b/nimpretty/tests/expected/simple4.nim new file mode 100644 index 000000000..62d106a9b --- /dev/null +++ b/nimpretty/tests/expected/simple4.nim @@ -0,0 +1,2 @@ +proc readBuffer*(f: AsyncFile, buf: pointer, size: int): Future[int] = + discard diff --git a/nimpretty/tests/simple4.nim b/nimpretty/tests/simple4.nim new file mode 100644 index 000000000..62d106a9b --- /dev/null +++ b/nimpretty/tests/simple4.nim @@ -0,0 +1,2 @@ +proc readBuffer*(f: AsyncFile, buf: pointer, size: int): Future[int] = + discard |