Skip to content

test: remove third argument(string literal) from strictEqual()

In test/parallel/test-stream-pip-await-drain-push-while-write.js, There are two calls in it to assert.strictEqual(). Both calls are provided with three arguments. The third argument in each case is a string literal. Unfortunately, that will suppress the presentation of the values of the first two arguments in the case of an AssertionError

This is fixed by removing the third argument from the call. The third argument in the call is basically a string literal.

This particular issue is provided by @trott, Thank you so much for getting me started.

Refs: https://www.nodetodo.org/getting-started

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading