Skip to content

Commit

Permalink
test: change expected and actual values in assert call
Browse files Browse the repository at this point in the history
PR-URL: #27881
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Yongsheng Zhang <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
oksemonenko authored and targos committed May 28, 2019
1 parent d99e703 commit 724d9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-lazy-transform-writable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit 724d9c8

Please sign in to comment.