From a97944306f5206294369289ed641707ef54a8294 Mon Sep 17 00:00:00 2001 From: Amanuel Ghebreweldi Date: Fri, 12 Oct 2018 11:19:09 -0700 Subject: [PATCH] test: assertions arguments match docs PR-URL: https://github.com/nodejs/node/pull/23594 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Sakthipriyan Vairamani --- test/parallel/test-pipe-head.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-pipe-head.js b/test/parallel/test-pipe-head.js index 1cfff9888d0d7f..cb3d183fcdff20 100644 --- a/test/parallel/test-pipe-head.js +++ b/test/parallel/test-pipe-head.js @@ -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); }));