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: #9935
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
mitchellst authored and addaleax committed Dec 8, 2016
1 parent 91b942e commit b48d831
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 b48d831

Please sign in to comment.