Skip to content

Commit

Permalink
test: fix the arguments order in assert.strictEqual
Browse files Browse the repository at this point in the history
This change was initiated from the NodeConfEU session.

PR-URL: nodejs#24226
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
michael-zucker authored and Trott committed Nov 10, 2018
1 parent aba0c94 commit 87d0aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-fs-read-stream-fd-leak.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function testLeak(endFn, callback) {
}

assert.strictEqual(
0,
openCount,
0,
`no leaked file descriptors using ${endFn}() (got ${openCount})`
);

Expand Down

0 comments on commit 87d0aa8

Please sign in to comment.