test: crypto-hash-stream-pipe use strict equal

Replaces the use of assert.equal() with assert.strictEqual in test
code.

PR-URL: https://github.com/nodejs/node/pull/9935
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Mitchell Stoutin 2016-12-01 10:28:14 -06:00 committed by Rich Trott
parent 5be66db688
commit 1a83b194b3

View File

@ -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');