From 0fdd23fa3fc794a64718e1b761b2ef5efa864ecd Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 13 Dec 2018 08:46:47 -0500 Subject: [PATCH] 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 Reviewed-By: Ruben Bridgewater Reviewed-By: Luigi Pinca Reviewed-By: Roman Reiss --- test/parallel/test-fs-utimes.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/parallel/test-fs-utimes.js b/test/parallel/test-fs-utimes.js index 43fbe41dccc249..4c13fc46592105 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);