test: fix the arguments order in assert.strictEqual

This change was initiated from the NodeConfEU session.

PR-URL: https://github.com/nodejs/node/pull/24226
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
mzucker 2018-11-07 15:14:13 +00:00 committed by Rich Trott
parent aba0c945eb
commit 87d0aa8686

View File

@ -37,8 +37,8 @@ function testLeak(endFn, callback) {
}
assert.strictEqual(
0,
openCount,
0,
`no leaked file descriptors using ${endFn}() (got ${openCount})`
);