diff --git a/test/parallel/test-zlib-random-byte-pipes.js b/test/parallel/test-zlib-random-byte-pipes.js index 5eb048101cf513..9c679ab0a0a2fa 100644 --- a/test/parallel/test-zlib-random-byte-pipes.js +++ b/test/parallel/test-zlib-random-byte-pipes.js @@ -150,5 +150,5 @@ const gunz = zlib.createGunzip(); inp.pipe(gzip).pipe(gunz).pipe(out); out.on('data', common.mustCall((c) => { - assert.strictEqual(c, inp._hash, 'hashes should match'); + assert.strictEqual(c, inp._hash, `Hash '${c}' equals '${inp._hash}'.`); }));