Skip to content

Commit

Permalink
test: removed string from assert message arg
Browse files Browse the repository at this point in the history
PR-URL: #15954
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
dpaulino authored and MylesBorins committed Oct 11, 2017
1 parent 94c6296 commit ba9aa46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-zlib-from-gzip.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const out = fs.createWriteStream(outputFile);
inp.pipe(gunzip).pipe(out);
out.on('close', common.mustCall(() => {
const actual = fs.readFileSync(outputFile);
assert.strictEqual(actual.length, expect.length, 'length should match');
assert.strictEqual(actual.length, expect.length);
for (let i = 0, l = actual.length; i < l; i++) {
assert.strictEqual(actual[i], expect[i], `byte[${i}]`);
}
Expand Down

0 comments on commit ba9aa46

Please sign in to comment.