mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
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:
1 parent
558fa1cf10
commit
deb9cc0cde
1 file changed
+1
-1
@@ -42,7 +42,7 @@ function assertOutputLines() {
|
||||
'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++)
|
||||
assert(expectedLines[i].includes(outputLines[i]));
|
||||
}
|
||||
Reference in new issue
Block a user