summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-append-file.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-append-file.js')
-rw-r--r--test/parallel/test-fs-append-file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-append-file.js b/test/parallel/test-fs-append-file.js
index aa96f86b2b..4951fa85b4 100644
--- a/test/parallel/test-fs-append-file.js
+++ b/test/parallel/test-fs-append-file.js
@@ -91,7 +91,7 @@ fs.appendFile(filename4, n, { mode: m }, function(e) {
common.error('appended to file4');
// windows permissions aren't unix
- if (process.platform !== 'win32') {
+ if (!common.isWindows) {
var st = fs.statSync(filename4);
assert.equal(st.mode & 0o700, m);
}