Skip to content

Commit 9f567e7

Browse files
krydosevanlucas
authored andcommittedMay 2, 2017
test: use common.js to check platform
PR-URL: #12629 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]>
1 parent 18aec67 commit 9f567e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/parallel/test-fs-readfile-error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const path = require('path');
66

77
// `fs.readFile('/')` does not fail on FreeBSD, because you can open and read
88
// the directory there.
9-
if (process.platform === 'freebsd') {
9+
if (common.isFreeBSD) {
1010
common.skip('platform not supported.');
1111
return;
1212
}

0 commit comments

Comments
 (0)