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:
parent
558fa1cf10
commit
deb9cc0cde
@ -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]));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user