Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit baa1acc

Browse filesBrowse files
davidmarkclementsaddaleax
authored andcommitted
test: assert.equal -> assert.strictEqual
changes assert.equal to assert.strictEqual to ensure specificity PR-URL: #10065 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent a34e195 commit baa1acc
Copy full SHA for baa1acc

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-crypto-stream.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-crypto-stream.js
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ if (!common.hasFipsCrypto) {
3030
// Create an md5 hash of "Hallo world"
3131
var hasher1 = crypto.createHash('md5');
3232
hasher1.pipe(new Stream2buffer(common.mustCall(function end(err, hash) {
33-
assert.equal(err, null);
34-
assert.equal(hash.toString('hex'), '06460dadb35d3d503047ce750ceb2d07');
33+
assert.strictEqual(err, null);
34+
assert.strictEqual(
35+
hash.toString('hex'), '06460dadb35d3d503047ce750ceb2d07'
36+
);
3537
})));
3638
hasher1.end('Hallo world');
3739

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.