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 authored and Ruben Bridgewater committed 2018-11-14 00:55:38 +01:00
1 parent be40fd1e50
commit 4245cbbf49
1 file changed
+1 -1
+1 -1
View File
@@ -37,8 +37,8 @@ function testLeak(endFn, callback) {
}
assert.strictEqual(
0,
openCount,
0,
`no leaked file descriptors using ${endFn}() (got ${openCount})`
);