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 086e57f

Browse filesBrowse files
Trottevanlucas
authored andcommitted
test: favor strict equality check
Change use of `!=` in assertion to `assert.notStrictEqual()` check. PR-URL: #8130 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 9a393a7 commit 086e57f
Copy full SHA for 086e57f

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/pummel/test-tls-connect-memleak.js‎

Copy file name to clipboardExpand all lines: test/pummel/test-tls-connect-memleak.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ tls.createServer({
2727

2828
const options = { rejectUnauthorized: false };
2929
tls.connect(common.PORT, '127.0.0.1', options, function() {
30-
assert(junk.length != 0); // keep reference alive
30+
assert.notStrictEqual(junk.length, 0); // keep reference alive
3131
setTimeout(done, 10);
3232
global.gc();
3333
});

0 commit comments

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