Skip to content

Commit 522a30f

Browse files
lpincatargos
authored andcommitted
test: fix argument order in assertion
The first argument is the actual value, the second argument is the expected value. PR-URL: #40842 Fixes: #40277 Reviewed-By: Robert Nagy <[email protected]> Reviewed-By: Adrian Estrada <[email protected]>
1 parent b190b0e commit 522a30f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-http2-pipe-named-pipe.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ server.on('stream', common.mustCall((stream) => {
2828
}));
2929

3030
dest.on('finish', common.mustCall(() => {
31-
assert.strictEqual(fs.readFileSync(loc).length,
32-
fs.readFileSync(fn).length);
31+
assert.strictEqual(fs.readFileSync(fn).length,
32+
fs.readFileSync(loc).length);
3333
}));
3434
}));
3535

0 commit comments

Comments
 (0)