Skip to content

test: remove second arg from assert.ifError()

Rodrigo Muino Tomonari requested to merge github/fork/mhamwala/assertErr into master

test/parallel/test-fs-readfile.js has a call to assert.ifError() that receives two arguments. There is no second argument used in assert.ifError(). This PR removes this argument.

This fix was recommended by @trott via NodeTodo.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading