Skip to content

Commit 0b510da

Browse files
Aghebjasnell
authored andcommitted
test: assertions arguments match docs
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]>
1 parent 58faae9 commit 0b510da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/parallel/test-pipe-head.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ const cmd = `"${nodePath}" "${script}" | head -2`;
1313
exec(cmd, common.mustCall(function(err, stdout, stderr) {
1414
assert.ifError(err);
1515
const lines = stdout.split('\n');
16-
assert.strictEqual(3, lines.length);
16+
assert.strictEqual(lines.length, 3);
1717
}));

0 commit comments

Comments
 (0)