test: removed string from assert message arg

PR-URL: https://github.com/nodejs/node/pull/15954
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
dpaulino authored and Myles Borins committed 2017-10-25 04:09:45 -04:00
1 parent 705202d410
commit fcab2c5ed2
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,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}]`);
}