diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2020-10-07 14:39:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 14:39:13 +0200 |
commit | 3b901d1e361f49d48fb64d115e42c04a4a37100c (patch) | |
tree | 78198ee50bb7a829cb1c1aec9b59c60cd5d7c12a /tests/errmsgs | |
parent | 0426a4d85ab8f9558dee35c657aad0d299748c15 (diff) | |
download | Nim-3b901d1e361f49d48fb64d115e42c04a4a37100c.tar.gz |
docgen: improve alignment of comments (still not perfect) (#15506)
* docgen: improve alignment of comments (still not perfect) * fix error message text in `tunknown_named_parameter` Co-authored-by: narimiran <narimiran@disroot.org>
Diffstat (limited to 'tests/errmsgs')
-rw-r--r-- | tests/errmsgs/tunknown_named_parameter.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/errmsgs/tunknown_named_parameter.nim b/tests/errmsgs/tunknown_named_parameter.nim index b139310db..829ab9497 100644 --- a/tests/errmsgs/tunknown_named_parameter.nim +++ b/tests/errmsgs/tunknown_named_parameter.nim @@ -10,7 +10,8 @@ proc rsplit(s: string; sep: string; maxsplit: int = -1): seq[string] first type mismatch at position: 2 required type for sep: string but expression '{':'}' is of type: set[char] -proc rsplit(s: string; seps: set[char] = Whitespace; maxsplit: int = -1): seq[string] +proc rsplit(s: string; seps: set[char] = Whitespace; maxsplit: int = -1): seq[ + string] first type mismatch at position: 3 unknown named parameter: maxsplits @@ -22,6 +23,5 @@ expression: rsplit("abc:def", {':'}, maxsplits = 1) # bug #8043 - import strutils "abc:def".rsplit({':'}, maxsplits = 1) |