diff options
Diffstat (limited to 'test/parallel/test-tty-wrap.js')
-rw-r--r-- | test/parallel/test-tty-wrap.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-tty-wrap.js b/test/parallel/test-tty-wrap.js index 6f94199c2b..fce4e194a8 100644 --- a/test/parallel/test-tty-wrap.js +++ b/test/parallel/test-tty-wrap.js @@ -1,12 +1,12 @@ 'use strict'; -require('../common'); +const common = require('../common'); var assert = require('assert'); var TTY = process.binding('tty_wrap').TTY; var isTTY = process.binding('tty_wrap').isTTY; if (isTTY(1) == false) { - console.log('1..0 # Skipped: fd 1 is not a tty.'); + common.skip('fd 1 is not a tty.'); return; } |