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
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue