Skip to content

Commit

Permalink
runner: Fix indent, add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnor committed Apr 7, 2016
1 parent 79f2622 commit 12d6159
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/runner.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,12 @@ class Runner

received = {}
onReceived = (port, data) =>
received[port] = data
nExpected = Object.keys(testcase.expect).length
if Object.keys(received).length == nExpected
@client.removeListener 'runtime', checkPacket
return callback null, received
debug 'runtest got output on', port
received[port] = data
nExpected = Object.keys(testcase.expect).length
if Object.keys(received).length == nExpected
@client.removeListener 'runtime', checkPacket
return callback null, received

checkPacket = (msg) =>
d = msg.payload
Expand Down

0 comments on commit 12d6159

Please sign in to comment.