0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 07:00:59 +01:00

test: use Number.isNaN()

PR-URL: https://github.com/nodejs/node/pull/17319
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
MURAKAMI Masahiko 2017-11-26 17:03:38 +09:00 committed by James M Snell
parent 9de15de05a
commit 3cf0db5311

View File

@ -19,4 +19,4 @@ process.emit('normal', 'normalData');
process.emit(sym, 'symbolData');
process.emit('SIGPIPE', 'signalData');
assert.strictEqual(isNaN(process._eventsCount), false);
assert.strictEqual(Number.isNaN(process._eventsCount), false);