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

Ensure documentation always shows an action after a call specification #1342

Closed
blairconrad opened this issue Apr 28, 2018 · 1 comment
Closed
Assignees
Milestone

Comments

@blairconrad
Copy link
Member

Specifying a method call or property get using an Expression has a sample block of code that does nothing with the return value of A.CallTo. The next paragraphs explain that you should use the return value, but a hasty reading may lead people to copy the example and not supply an action (behaviour or call assertion).

I think we should rework the documentation to include a better example. I've not yet searched, but the bad examples may appear elsewhere.

@blairconrad
Copy link
Member Author

This change has been released as part of FakeItEasy 4.8.0.

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

No branches or pull requests

1 participant