Skip to content

Commit

Permalink
test: remove unused argument in test-util-inspect.js
Browse files Browse the repository at this point in the history
PR-URL: #43395
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
cjihrig authored and danielleadams committed Jun 16, 2022
1 parent 9f1de2c commit 1cc1a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-util-inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ assert.strictEqual(util.inspect(Object.create(Date.prototype)), 'Date {}');

// Test util.inspect.styles and util.inspect.colors.
{
function testColorStyle(style, input, implicit) {
function testColorStyle(style, input) {
const colorName = util.inspect.styles[style];
let color = ['', ''];
if (util.inspect.colors[colorName])
Expand Down

0 comments on commit 1cc1a57

Please sign in to comment.