Please sign in to comment.
test: remove third argument from assert.strictEqual()
In file test/parallel/test-stream-transform-final.js the ten calls to assert.strictEqual() use a string literal as third argument. When a AssertionError occurs, it reports the string literal and not the first two arguments, so the third agrument is removed and made a comment just above the call to assert.strictEqual(). PR-URL: #22051 Reviewed-By: Rich Trott <email@example.com> Reviewed-By: Anatoli Papirovski <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com> Reviewed-By: Trivikram Kamat <firstname.lastname@example.org> Reviewed-By: Colin Ihrig <email@example.com> Reviewed-By: Jon Moss <firstname.lastname@example.org> Reviewed-By: Luigi Pinca <email@example.com> Reviewed-By: Ruben Bridgewater <firstname.lastname@example.org>
- Loading branch information...
Showing with 20 additions and 10 deletions.