Skip to content

test: replace internal API test with public API test

Rodrigo Muino Tomonari requested to merge github/fork/Trott/publicize into master

The internal freelist hasItems() test use the internal API directly. This commit changes them to use the API as it is exposed publicly. It tests the same code paths, but does it without needing --expose-internals.

Refs: https://github.com/nodejs/node/pull/27588#pullrequestreview-234284081

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