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:
Amanuel Ghebreweldi authored and James M Snell committed 2018-10-17 11:31:00 -07:00
1 parent 58faae9f3a
commit 0b510da6ba
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}));