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 fb4b650

Browse filesBrowse files
mitchellstaddaleax
authored andcommitted
test: crypto-hash-stream-pipe use strict equal
Replaces the use of assert.equal() with assert.strictEqual in test code. PR-URL: #9935 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 8f550df commit fb4b650
Copy full SHA for fb4b650

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-crypto-hash-stream-pipe.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var h = crypto.createHash('sha1');
1414
var expect = '15987e60950cf22655b9323bc1e281f9c4aff47e';
1515

1616
s.pipe(h).on('data', common.mustCall(function(c) {
17-
assert.equal(c, expect);
17+
assert.strictEqual(c, expect);
1818
})).setEncoding('hex');
1919

2020
s.end('aoeu');

0 commit comments

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