diff --git a/test/parallel/test-crypto-lazy-transform-writable.js b/test/parallel/test-crypto-lazy-transform-writable.js index 94240321bd755e..000c6693c8ae0d 100644 --- a/test/parallel/test-crypto-lazy-transform-writable.js +++ b/test/parallel/test-crypto-lazy-transform-writable.js @@ -28,7 +28,7 @@ const stream = new OldStream(); stream.pipe(hasher2).on('finish', common.mustCall(function() { const hash = hasher2.read().toString('hex'); - assert.strictEqual(expected, hash); + assert.strictEqual(hash, expected); })); stream.emit('data', Buffer.from('hello'));