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 <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
Agheb authored and MylesBorins committed Nov 29, 2018
1 parent 4ab8223 commit 51c3685
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 51c3685

Please sign in to comment.