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
|
|
@ -9,7 +9,7 @@ type
|
|||
TMyObj = object
|
||||
x, y: int
|
||||
|
||||
proc `$`*(a: TMyObj): string =
|
||||
proc `$`*(a: TMyObj): string =
|
||||
result = "x: " & $a.x & " y: " & $a.y
|
||||
|
||||
var a: TMyObj
|
||||
|
|
|
|||
|
|
@ -12,13 +12,13 @@ block:
|
|||
template foo(a: int, b: string) = discard
|
||||
foo(1, "test")
|
||||
bar(1, "test")
|
||||
|
||||
|
||||
proc baz =
|
||||
proc foo(a: int, b: string) = discard
|
||||
proc foo(b: string) =
|
||||
template bar(a: int, b: string) = discard
|
||||
bar(1, "test")
|
||||
|
||||
|
||||
foo("test")
|
||||
|
||||
block:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue