We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0c871b commit 6cff57eCopy full SHA for 6cff57e
test/parallel/test-net-server-listen-path.js
@@ -63,8 +63,8 @@ function randomPipePath() {
63
}, common.mustCall(() => {
64
if (process.platform !== 'win32') {
65
const mode = fs.statSync(handlePath).mode;
66
- assert.ok(mode & fs.constants.S_IROTH !== 0);
67
- assert.ok(mode & fs.constants.S_IWOTH !== 0);
+ assert.notStrictEqual(mode & fs.constants.S_IROTH, 0);
+ assert.notStrictEqual(mode & fs.constants.S_IWOTH, 0);
68
}
69
srv.close();
70
}));
0 commit comments