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
|
|
@ -11,11 +11,11 @@ type
|
|||
TElem = object
|
||||
foo: int
|
||||
bar: string
|
||||
|
||||
|
||||
let
|
||||
elem1 = TElem(foo: 1, bar: "bar")
|
||||
elem2 = TElem(foo: 2, bar: "baz")
|
||||
|
||||
|
||||
var tbl2 = initTable[string, TElem]()
|
||||
tbl2.add("bar", elem1)
|
||||
tbl2.add("baz", elem2)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
template ignoreExpr(e: expr): stmt {.immediate.} =
|
||||
discard
|
||||
|
||||
# test first class '..' syntactical citizen:
|
||||
# test first class '..' syntactical citizen:
|
||||
ignoreExpr x <> 2..4
|
||||
# test table constructor:
|
||||
ignoreExpr({:})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue