Skip to content

Commit

Permalink
test: assertions arguments match docs
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
Agheb authored and MylesBorins committed Oct 30, 2018
1 parent 3d70304 commit 002c35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-pipe-head.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}));

0 comments on commit 002c35c

Please sign in to comment.