Skip to content

Commit

Permalink
test: crypto-hash-stream-pipe use strict equal
Browse files Browse the repository at this point in the history
Replaces the use of assert.equal() with assert.strictEqual in test
code.

PR-URL: nodejs#9935
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
mitchellst authored and Jonathan Darling committed Dec 8, 2016
1 parent 8e140f5 commit de65e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-hash-stream-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var h = crypto.createHash('sha1');
var expect = '15987e60950cf22655b9323bc1e281f9c4aff47e';

s.pipe(h).on('data', common.mustCall(function(c) {
assert.equal(c, expect);
assert.strictEqual(c, expect);
})).setEncoding('hex');

s.end('aoeu');

0 comments on commit de65e3e

Please sign in to comment.