summary refs log tree commit diff stats
path: root/nimpretty/tests/expected
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-07-09 10:08:23 +0200
committerAraq <rumpf_a@web.de>2019-07-09 11:38:01 +0200
commit0193c8ad2e01140fe86891f90b49a0292b480d2d (patch)
tree2383b5b5c5965b1286a6dfa9c63b100c20771dcc /nimpretty/tests/expected
parent7993d61d002c7230dbf5240eb7012984edb514ad (diff)
downloadNim-0193c8ad2e01140fe86891f90b49a0292b480d2d.tar.gz
nimpretty: yet another improvement
Diffstat (limited to 'nimpretty/tests/expected')
-rw-r--r--nimpretty/tests/expected/exhaustive.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/exhaustive.nim b/nimpretty/tests/expected/exhaustive.nim
index a549a5d6b..dc0bb7568 100644
--- a/nimpretty/tests/expected/exhaustive.nim
+++ b/nimpretty/tests/expected/exhaustive.nim
@@ -739,3 +739,13 @@ type
 
 if true: # just one space before comment
   echo 7
+
+# colors.nim:18
+proc `==` *(a, b: Color): bool
+  ## Compares two colors.
+  ##
+
+# colors.nim:18
+proc `==` *(a, b: Color): bool {.borrow.}
+  ## Compares two colors.
+  ##