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 cca9210

Browse filesBrowse files
Trottruyadorno
authored andcommitted
test: remove unneeded test statement
The statement removed was added in 6657b15 but it was not added as an assertion. It currently returns false but t0he test does not fail because of the missing assertion. Since the property is no longer one that exists, there is no need to test its existence. Remove the line. PR-URL: #41663 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im>
1 parent a35c6c3 commit cca9210
Copy full SHA for cca9210

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/parallel/test-event-emitter-subclass.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-event-emitter-subclass.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ function MyEE(cb) {
3636

3737
const myee = new MyEE(common.mustCall());
3838

39-
myee.hasOwnProperty('usingDomains');
40-
4139
Object.setPrototypeOf(ErrorEE.prototype, EventEmitter.prototype);
4240
Object.setPrototypeOf(ErrorEE, EventEmitter);
4341
function ErrorEE() {

0 commit comments

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