[v8.x backport] util: expand test coverage for util.deprecate
Backporting: https://github.com/nodejs/node/pull/16305
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes
Affected core subsystem(s)
util
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Backporting: https://github.com/nodejs/node/pull/16305
make -j4 test
(UNIX), or vcbuild test
(Windows) passesutil