Skip to content

Commit ee05411

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 <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>
1 parent c9b0a36 commit ee05411

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎test/parallel/test-fs-utimes.js‎

Lines changed: 1 addition & 3 deletions
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-
constY2K38_mtime=2**31;
191+
constY2K38_mtime=2**31;
194192
fs.utimesSync(path,Y2K38_mtime,Y2K38_mtime);
195193
constY2K38_stats=fs.statSync(path);
196194
assert.strictEqual(Y2K38_mtime,Y2K38_stats.mtime.getTime()/1000);

0 commit comments

Comments
 (0)