summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-utimes.js
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-12-13 08:46:47 -0500
committercjihrig <cjihrig@gmail.com>2018-12-15 12:10:49 -0500
commit0fdd23fa3fc794a64718e1b761b2ef5efa864ecd (patch)
treec905e62882b59ff8fafc1bb22bb3861625a151fd /test/parallel/test-fs-utimes.js
parent715e3c6226aa2bd5ec6ed00db1185674e4989e07 (diff)
downloadandroid-node-v8-0fdd23fa3fc794a64718e1b761b2ef5efa864ecd.tar.gz
android-node-v8-0fdd23fa3fc794a64718e1b761b2ef5efa864ecd.tar.bz2
android-node-v8-0fdd23fa3fc794a64718e1b761b2ef5efa864ecd.zip
test: remove unnecessary linter comment
Some would say it's the linter's job to determine what looks right. PR-URL: https://github.com/nodejs/node/pull/25013 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'test/parallel/test-fs-utimes.js')
-rw-r--r--test/parallel/test-fs-utimes.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/parallel/test-fs-utimes.js b/test/parallel/test-fs-utimes.js
index 43fbe41dcc..4c13fc4659 100644
--- a/test/parallel/test-fs-utimes.js
+++ b/test/parallel/test-fs-utimes.js
@@ -188,9 +188,7 @@ fs.writeFileSync(path, '');
// Test Y2K38 for all platforms [except 'arm', 'OpenBSD' and 'SunOS']
if (!process.arch.includes('arm') && !common.isOpenBSD && !common.isSunOS) {
- // because 2 ** 31 doesn't look right
- // eslint-disable-next-line space-infix-ops
- const Y2K38_mtime = 2**31;
+ const Y2K38_mtime = 2 ** 31;
fs.utimesSync(path, Y2K38_mtime, Y2K38_mtime);
const Y2K38_stats = fs.statSync(path);
assert.strictEqual(Y2K38_mtime, Y2K38_stats.mtime.getTime() / 1000);