Skip to content

Ignore "null handlers" when a substituted event is raised#667

Merged
dtchepak merged 3 commits into
nsubstitute:masterfrom
x789:issue/647
Oct 10, 2021
Merged

Ignore "null handlers" when a substituted event is raised#667
dtchepak merged 3 commits into
nsubstitute:masterfrom
x789:issue/647

Conversation

@x789

@x789 x789 commented Oct 3, 2021

Copy link
Copy Markdown
Contributor

This PR fixes #647

@x789

x789 commented Oct 9, 2021

Copy link
Copy Markdown
Contributor Author

One more small thing, @dtchepak: If you decide to approve the PR, it would be great if you could attach the label hacktoberfest-accepted to it.

@dtchepak dtchepak merged commit b119cc3 into nsubstitute:master Oct 10, 2021
@dtchepak

Copy link
Copy Markdown
Member

Thanks a lot @x789 ! 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding null event handler to substituted event leads to exception in Raise.EventWith.

2 participants