mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 14:18:44 +02: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>
8 lines
283 B
JavaScript
8 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);
|