From bffbf6881a95d546f9b50cac622a19518cd2e32b Mon Sep 17 00:00:00 2001 From: davidmarkclements Date: Thu, 1 Dec 2016 13:24:40 -0600 Subject: [PATCH] test: assert.equal -> assert.strictEqual changes assert.equal to assert.strictEqual to ensure specificity PR-URL: https://github.com/nodejs/node/pull/10065 Reviewed-By: Colin Ihrig --- test/parallel/test-crypto-stream.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-crypto-stream.js b/test/parallel/test-crypto-stream.js index 10271e27da4191..1720cc7c4e0aea 100644 --- a/test/parallel/test-crypto-stream.js +++ b/test/parallel/test-crypto-stream.js @@ -30,8 +30,10 @@ if (!common.hasFipsCrypto) { // Create an md5 hash of "Hallo world" var hasher1 = crypto.createHash('md5'); hasher1.pipe(new Stream2buffer(common.mustCall(function end(err, hash) { - assert.equal(err, null); - assert.equal(hash.toString('hex'), '06460dadb35d3d503047ce750ceb2d07'); + assert.strictEqual(err, null); + assert.strictEqual( + hash.toString('hex'), '06460dadb35d3d503047ce750ceb2d07' + ); }))); hasher1.end('Hallo world');