We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action x = () => { }; var y = x; Assert.That(y, Is.EqualTo(x));
The test actually succeeds. NUnit2021 isn't expected to fire on x.
x
The text was updated successfully, but these errors were encountered:
This is related to #258 It goes wrong in the same method. It tries to get the return type of the delegate which is void.
My changes don't break any of the existing unit test and solve the new test I added for your use case.
I just raised a PR for the fix.
Sorry, something went wrong.
Merge pull request #275 from manfred-brands/#274_2021AndDelegates
88c6d29
Fix for NUnit2021 firing on Action delegates. #274
Successfully merging a pull request may close this issue.
The test actually succeeds.
NUnit2021 isn't expected to fire on
x
.The text was updated successfully, but these errors were encountered: