tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
parent
ac9c1cd6b9
commit
e80465dacf
372 changed files with 4486 additions and 4486 deletions
|
|
@ -5,7 +5,7 @@ type Deck = object
|
|||
|
||||
proc sort(h: var seq[Deck]) =
|
||||
# works:
|
||||
h.sort(proc (x, y: Deck): auto =
|
||||
h.sort(proc (x, y: Deck): auto =
|
||||
cmp(x.value, y.value))
|
||||
# fails:
|
||||
h.sort((x, y: Deck) => cmp(ord(x.value), ord(y.value)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue