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 <ronagy@icloud.com>
Reviewed-By: Adrian Estrada <edsadr@gmail.com>
  • Loading branch information
lpinca authored and danielleadams committed Feb 1, 2022
1 parent 4978689 commit 55678af
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 55678af

Please sign in to comment.