Skip to content

Commit fb4b650

Browse files
mitchellstaddaleax
authored andcommitted
test: crypto-hash-stream-pipe use strict equal
Replaces the use of assert.equal() with assert.strictEqual in test code. PR-URL: #9935 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 8f550df commit fb4b650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-crypto-hash-stream-pipe.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var h = crypto.createHash('sha1');
1414
var expect = '15987e60950cf22655b9323bc1e281f9c4aff47e';
1515

1616
s.pipe(h).on('data', common.mustCall(function(c) {
17-
assert.equal(c, expect);
17+
assert.strictEqual(c, expect);
1818
})).setEncoding('hex');
1919

2020
s.end('aoeu');

0 commit comments

Comments
 (0)