-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
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
StrictFakeOptions.Allow* do not apply to overridden Object methods #1850
StrictFakeOptions.Allow* do not apply to overridden Object methods #1850
Conversation
Currently builds on #1849. Only the 3 latest commits properly belong to this PR. |
@@ -58,6 +58,26 @@ public interface IMyInterface | |||
.x(() => exception.Should().BeAnExceptionOfType<ExpectationException>()); | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
None of the new tests initially passed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me. And it looks like I had made the same mistake again with IsSameMethodAs/HasSameBaseMethodAs. Thanks @blairconrad!
Should be merged automatically after you rebase |
Whoops! I foolishly changed the title before I rebased. Why? I don't know. I was here and not thinking and it automerged. We got an ugly graph. Sorry about that. Also, thanks for the review and auto-merge! |
This change has been released as part of FakeItEasy 7.2.0. |
No description provided.