Skip to content

assert,test: complete coverage for AssertionError

Rodrigo Muino Tomonari requested to merge github/fork/Trott/test-assert into master

There were two code branches in lib/internal/assert/assertion_error.js that were not covered by tests. This adds a test to cover the two uncovered branches. The test revealed that there was some missing properties/functaionality in the AssertionError class. So this also adds the missing material.

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

Merge request reports

Loading