test: use common.skip for tap skip output
These were missed from 52bae222a3a8480b2b30d8dc4629b64a284410d4 PR-URL: https://github.com/nodejs/node/pull/8841 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
This commit is contained in:
parent
5e6bd84ff0
commit
cd5a4c157c
@ -6,7 +6,7 @@ var path = require('path');
|
|||||||
// simulate `cat readfile.js | node readfile.js`
|
// simulate `cat readfile.js | node readfile.js`
|
||||||
|
|
||||||
if (common.isWindows || common.isAix) {
|
if (common.isWindows || common.isAix) {
|
||||||
console.log(`1..0 # Skipped: No /dev/stdin on ${process.platform}.`);
|
common.skip(`No /dev/stdin on ${process.platform}.`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ var assert = require('assert');
|
|||||||
// simulate `cat readfile.js | node readfile.js`
|
// simulate `cat readfile.js | node readfile.js`
|
||||||
|
|
||||||
if (common.isWindows || common.isAix) {
|
if (common.isWindows || common.isAix) {
|
||||||
console.log(`1..0 # Skipped: No /dev/stdin on ${process.platform}.`);
|
common.skip(`No /dev/stdin on ${process.platform}.`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ var path = require('path');
|
|||||||
// simulate `cat readfile.js | node readfile.js`
|
// simulate `cat readfile.js | node readfile.js`
|
||||||
|
|
||||||
if (common.isWindows || common.isAix) {
|
if (common.isWindows || common.isAix) {
|
||||||
console.log(`1..0 # Skipped: No /dev/stdin on ${process.platform}.`);
|
common.skip(`No /dev/stdin on ${process.platform}.`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user