From b48d83190ac7b1c5349fc2d380029966ad3ecee3 Mon Sep 17 00:00:00 2001 From: Mitchell Stoutin Date: Thu, 1 Dec 2016 10:28:14 -0600 Subject: [PATCH] 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 --- test/parallel/test-crypto-hash-stream-pipe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-crypto-hash-stream-pipe.js b/test/parallel/test-crypto-hash-stream-pipe.js index 0ad9f18b0b45d8..5a0e409bada218 100644 --- a/test/parallel/test-crypto-hash-stream-pipe.js +++ b/test/parallel/test-crypto-hash-stream-pipe.js @@ -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');