Skip to content

Commit

Permalink
test: remove string literal from deepStrictEqual
Browse files Browse the repository at this point in the history
PR-URL: #22742
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
  • Loading branch information
iliashkolyar authored and targos committed Sep 10, 2018
1 parent 649fcbb commit d5e9801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-zlib-from-concatenated-gzip.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ fs.createReadStream(pmmFileGz)
})
.on('data', (data) => pmmResultBuffers.push(data))
.on('finish', common.mustCall(() => {
assert.deepStrictEqual(Buffer.concat(pmmResultBuffers), pmmExpected,
'result should match original random garbage');
// Result should match original random garbage
assert.deepStrictEqual(Buffer.concat(pmmResultBuffers), pmmExpected);
}));

// test that the next gzip member can wrap around the input buffer boundary
Expand Down

0 comments on commit d5e9801

Please sign in to comment.