Skip to content

Commit 4f0d17b

Browse files
cjihrigBethGriggs
authored andcommitted
test: remove unnecessary linter comment
Some would say it's the linter's job to determine what looks right. PR-URL: #25013 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent ab1801b commit 4f0d17b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/parallel/test-fs-utimes.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ fs.writeFileSync(path, '');
188188

189189
// Test Y2K38 for all platforms [except 'arm', 'OpenBSD' and 'SunOS']
190190
if (!process.arch.includes('arm') && !common.isOpenBSD && !common.isSunOS) {
191-
// because 2 ** 31 doesn't look right
192-
// eslint-disable-next-line space-infix-ops
193-
const Y2K38_mtime = 2**31;
191+
const Y2K38_mtime = 2 ** 31;
194192
fs.utimesSync(path, Y2K38_mtime, Y2K38_mtime);
195193
const Y2K38_stats = fs.statSync(path);
196194
assert.strictEqual(Y2K38_mtime, Y2K38_stats.mtime.getTime() / 1000);

0 commit comments

Comments
 (0)