tests: Trim .nim files trailing whitespace

via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
Adam Strzelecki 2015-09-04 23:04:32 +02:00
commit e80465dacf
372 changed files with 4486 additions and 4486 deletions

View file

@ -12,7 +12,7 @@ type
BoxedFloat = object
value: float
proc term(k: float): ptr BoxedFloat =
proc term(k: float): ptr BoxedFloat =
var temp = 4 * math.pow(-1, k) / (2*k + 1)
result = cast[ptr BoxedFloat](allocShared(sizeof(BoxedFloat)))
result.value = temp

View file

@ -7,11 +7,11 @@ discard """
import strutils, math, threadpool
type
type
BoxedFloat = object
value: float
proc term(k: float): ptr BoxedFloat =
proc term(k: float): ptr BoxedFloat =
var temp = 4 * math.pow(-1, k) / (2*k + 1)
result = cast[ptr BoxedFloat](allocShared(sizeof(BoxedFloat)))
result.value = temp