From 9cfec12e9793ad72eff6b6969cca3e583374c36e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 26 Sep 2015 16:29:41 -0700 Subject: [PATCH] test: change call to deprecated util.isError() --- test/parallel/test-tty-stdout-end.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-tty-stdout-end.js b/test/parallel/test-tty-stdout-end.js index 190acae42870a9..3c9fcb01aa77f3 100644 --- a/test/parallel/test-tty-stdout-end.js +++ b/test/parallel/test-tty-stdout-end.js @@ -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); }