Skip to content

Commit 0b510da

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)