Skip to content

Commit

Permalink
test: fix argument order in assertion
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
lpinca authored and targos committed Nov 21, 2021
1 parent b190b0e commit 522a30f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-http2-pipe-named-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ server.on('stream', common.mustCall((stream) => {
}));

dest.on('finish', common.mustCall(() => {
assert.strictEqual(fs.readFileSync(loc).length,
fs.readFileSync(fn).length);
assert.strictEqual(fs.readFileSync(fn).length,
fs.readFileSync(loc).length);
}));
}));

Expand Down

0 comments on commit 522a30f

Please sign in to comment.