test: refactor the code in test-util-debug.js
- use const and let instead of var
- use assert.strictEqual instead of assert.equal
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description
- use const and let instead of var
- use assert.strictEqual instead of assert.equal