test: use assert.strictEqual

* use `assert.strictEqual`

PR-URL: https://github.com/nodejs/node/pull/9975
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
anoff 2016-12-01 10:59:09 -06:00 committed by Anna Henningsen
parent 558fa1cf10
commit deb9cc0cde
No known key found for this signature in database
GPG Key ID: D8B9F5AEAE84E4CF

View File

@ -42,7 +42,7 @@ function assertOutputLines() {
'Debugger listening on 127.0.0.1:' + debugPort, 'Debugger listening on 127.0.0.1:' + debugPort,
]; ];
assert.equal(outputLines.length, expectedLines.length); assert.strictEqual(outputLines.length, expectedLines.length);
for (var i = 0; i < expectedLines.length; i++) for (var i = 0; i < expectedLines.length; i++)
assert(expectedLines[i].includes(outputLines[i])); assert(expectedLines[i].includes(outputLines[i]));
} }