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
|
|
@ -20,12 +20,12 @@ proc serverRead(s: PAsyncSocket) =
|
|||
if s.recvFromAsync(data, 9, address, port):
|
||||
assert address == "127.0.0.1"
|
||||
msgCount.inc()
|
||||
|
||||
|
||||
discard """
|
||||
|
||||
|
||||
var line = ""
|
||||
assert s.recvLine(line)
|
||||
|
||||
|
||||
if line == "":
|
||||
assert(false)
|
||||
else:
|
||||
|
|
@ -66,11 +66,11 @@ while true:
|
|||
|
||||
if not disp.poll():
|
||||
break
|
||||
|
||||
|
||||
if (msgCount div messagesToSend) * serverCount == currentClient:
|
||||
createClient(disp, TPort(10335), false)
|
||||
createClient(disp, TPort(10336), true)
|
||||
|
||||
|
||||
if msgCount == messagesToSend * serverCount * swarmSize:
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue