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
test: fix Writable.write value in test for console-tty-colors
Fix to set function that common.mustNotCall() returns to Writable.write
  • Loading branch information
shisama committed Jun 11, 2018
commit dcc6edaa966959ecf40dea2dc05417e225bb1a35
2 changes: 1 addition & 1 deletion test/parallel/test-console-tty-colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ check(false, false, false);
// check invalid colorMode type
{
const stream = new Writable({
write: common.mustNotCall
write: common.mustNotCall()
});

[0, 'true', null, {}, [], () => {}].forEach((colorMode) => {
Expand Down