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 <ruben@bridgewater.de>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • 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.