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
|
|
@ -4,23 +4,23 @@ discard """
|
|||
1
|
||||
2'''
|
||||
"""
|
||||
# test for extremely strange bug
|
||||
|
||||
proc ack(x: int, y: int): int =
|
||||
if x != 0:
|
||||
if y != 5:
|
||||
return y
|
||||
return x
|
||||
return x+y
|
||||
|
||||
proc gen[T](a: T) =
|
||||
write(stdout, a)
|
||||
|
||||
|
||||
gen("hallo")
|
||||
write(stdout, ack(5, 4))
|
||||
#OUT hallo4
|
||||
|
||||
# test for extremely strange bug
|
||||
|
||||
proc ack(x: int, y: int): int =
|
||||
if x != 0:
|
||||
if y != 5:
|
||||
return y
|
||||
return x
|
||||
return x+y
|
||||
|
||||
proc gen[T](a: T) =
|
||||
write(stdout, a)
|
||||
|
||||
|
||||
gen("hallo")
|
||||
write(stdout, ack(5, 4))
|
||||
#OUT hallo4
|
||||
|
||||
# bug #1442
|
||||
let h=3
|
||||
for x in 0.. <h.int:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue