test: refactor test-dgram-msgsize.js
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
Change var
to const
, and change assert.equal()
to assert.strictEqual()
.