test: polish test-net-better-error-messages-listen
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
Cleans up test-net-better-error-messages-list.js with following:
- var -> cons
- assert.equal -> assert.strictEqual