diff --git a/test/parallel/test-http2-pipe-named-pipe.js b/test/parallel/test-http2-pipe-named-pipe.js index 226ae80932a65c..0ef05da1935d8c 100644 --- a/test/parallel/test-http2-pipe-named-pipe.js +++ b/test/parallel/test-http2-pipe-named-pipe.js @@ -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); })); }));