mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: assertions arguments match docs
PR-URL: https://github.com/nodejs/node/pull/23594 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
This commit is contained in:
1 parent
58faae9f3a
commit
0b510da6ba
1 file changed
+1
-1
@@ -13,5 +13,5 @@ const cmd = `"${nodePath}" "${script}" | head -2`;
|
||||
exec(cmd, common.mustCall(function(err, stdout, stderr) {
|
||||
assert.ifError(err);
|
||||
const lines = stdout.split('\n');
|
||||
assert.strictEqual(3, lines.length);
|
||||
assert.strictEqual(lines.length, 3);
|
||||
}));
|
||||
Reference in new issue
Block a user