Skip to content

Commit

Permalink
test: change call to deprecated util.isError()
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Sep 29, 2015
1 parent 20dae2a commit 9cfec12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-tty-stdout-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ try {
process.stdout.end();
} catch (e) {
exceptionCaught = true;
assert.ok(common.isError(e));
assert.ok(e instanceof Error);
assert.equal('process.stdout cannot be closed.', e.message);
}

Expand Down

0 comments on commit 9cfec12

Please sign in to comment.