Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
wrap function with mustCall
  • Loading branch information
princejwesley committed Aug 24, 2016
commit 9ed8f558fc1d890dcc3518d13bc250890e3debea
4 changes: 2 additions & 2 deletions test/parallel/test-readline-interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ function isWarned(emitter) {
callCount++;
});
fi.emit('data', '\r');
setTimeout(() => {
setTimeout(common.mustCall(() => {
fi.emit('data', '\n');
assert.equal(callCount, 2);
rli.close();
}, delay * 2);
}), delay * 2);
}

// \t when there is no completer function should behave like an ordinary
Expand Down