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

Documentation for writing custom matchers implements the selfDescribing method incorrectly #77

Open
ebear opened this issue Jul 10, 2015 · 0 comments
Labels

Comments

@ebear
Copy link

ebear commented Jul 10, 2015

In the example code here:
http://www.jmock.org/custom-matchers.html

The selfDescribing method is implemented such that it returns a StringBuffer object, however if we look at the hamcrest interface:
http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/SelfDescribing.html

we see that it actually returns void.

@npryce npryce added the website label Jul 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants