mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
The test hard coded the number of deprecated apis so whenever one is added or removed it always needs to be updated. This makes the check more robust by calculating the values on each run. Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/67701 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name>