mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
705202d410
commit
fcab2c5ed2
1 file changed
+1
-1
@@ -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}]`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user