Skip to content

swap actual and expected in assertions

test/parallel/test-fs-write.js contains assertions where the first argument provided is the expected value and the second value is the actual value. This is backward from the documentation for assertions like assert.strictEqual() where the first value should be the actual value being tested and the second value is the expected value.

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

Merge request reports

Loading