summary refs log tree commit diff stats
path: root/nimpretty/tests
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2019-07-06 00:21:21 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-07-06 00:21:21 +0200
commit34c09a98c7ffc5210861a9d67add681b16049c40 (patch)
tree9ee9046a8a7840aec49ba2878e935a97203b501c /nimpretty/tests
parent7d5d9f7703901e092422d682f7ab21995cfa1122 (diff)
downloadNim-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.nim2
-rw-r--r--nimpretty/tests/simple4.nim2
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