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

@ -23,13 +23,13 @@ suite "random int":
rand = random(100..1000)
check rand < 1000
check rand >= 100
test "randomize() again gives new numbers":
test "randomize() again gives new numbers":
randomize()
var rand1 = random(1000000)
randomize()
var rand2 = random(1000000)
check rand1 != rand2
suite "random float":
test "there might be some randomness":
@ -52,7 +52,7 @@ suite "random float":
rand = random(100.0..1000.0)
check rand < 1000.0
check rand >= 100.0
test "randomize() again gives new numbers":
test "randomize() again gives new numbers":
randomize()
var rand1:float = random(1000000.0)
randomize()