Skip to content
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

Provide placeholder names for anonymous parameters in received call descriptions #1924

Merged
merged 1 commit into from Apr 16, 2023

Conversation

blairconrad
Copy link
Member

Follows from fix for #1920.

If a method has anonymous parameters, the description of a received call should use placeholder names just as we would for a call that is expected but not received.

Copy link
Member

@thomaslevesque thomaslevesque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except for a possible typo and a minor suggestion

src/FakeItEasy/Core/DefaultFakeObjectCallFormatter.cs Outdated Show resolved Hide resolved
tests/FakeItEasy.Specs/CallMatchingSpecs.cs Outdated Show resolved Hide resolved
Copy link
Member

@thomaslevesque thomaslevesque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @blairconrad. Looks good to me, except the compilation errors...

@blairconrad
Copy link
Member Author

except the compilation errors...

😆

I'm lazy and just building for 6.0 at home. It's worked well enough for so long!

@thomaslevesque
Copy link
Member

I'm lazy and just building for 6.0 at home. It's worked well enough for so long!

Yeah, I do the same...

Copy link
Member

@thomaslevesque thomaslevesque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @blairconrad!

…escriptions

Follows from
  cfb82fe Provide placeholder names for anonymous parameters

If a method has anonymous parameters, the description of a received
call should use placeholder names just as we would for a call that is
expected but not received.
@blairconrad
Copy link
Member Author

Thanks for the quality reviews, @thomaslevesque!

@thomaslevesque thomaslevesque merged commit f274459 into FakeItEasy:master Apr 16, 2023
4 checks passed
@blairconrad blairconrad deleted the received branch April 23, 2023 12:07
@github-actions
Copy link

This change has been released as part of FakeItEasy 7.4.0.

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.

None yet

2 participants