Browse Source

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>
v6
anoff 8 years ago
committed by Anna Henningsen
parent
commit
deb9cc0cde
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 2
      test/parallel/test-debug-port-from-cmdline.js

2
test/parallel/test-debug-port-from-cmdline.js

@ -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…
Cancel
Save