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:
parent
aba0c945eb
commit
87d0aa8686
@ -37,8 +37,8 @@ function testLeak(endFn, callback) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
assert.strictEqual(
|
assert.strictEqual(
|
||||||
0,
|
|
||||||
openCount,
|
openCount,
|
||||||
|
0,
|
||||||
`no leaked file descriptors using ${endFn}() (got ${openCount})`
|
`no leaked file descriptors using ${endFn}() (got ${openCount})`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user