test: cleanup test-c-ares.js
Cleanup according to https://github.com/nodejs/code-and-learn/issues/56
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
- replace equal with strictEqual
- use const instead of var
- wrap callbacks into common.mustCall()