mirror of
https://github.com/nodejs/node.git
synced 2025-04-29 22:40:57 +00:00

PR-URL: https://github.com/nodejs/node/pull/55862 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
9 lines
283 B
JavaScript
9 lines
283 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const fs = require('fs');
|
|
const assert = require('assert');
|
|
|
|
// Check if the two constants accepted by chmod() on Windows are defined.
|
|
assert.notStrictEqual(fs.constants.S_IRUSR, undefined);
|
|
assert.notStrictEqual(fs.constants.S_IWUSR, undefined);
|