-
Notifications
You must be signed in to change notification settings - Fork 737
Polish tests #436
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
Polish tests #436
Conversation
Thanks, @izeye, but I don't think we can merge these changes. The changes to The changes to
|
@wilkinsona Thanks for the feedback!
I thought the intention for either
I tried with the same version of JDK as yours but failed to see the build error:
How did I see the build error? |
It was really just checking that a failure occurs when the type doesn't match so anything other than
Well this is very strange indeed. It only happens when I cherry-pick the change back onto the 1.2.x branch. I'd guess it's a limitation of the type inferencing in Java 8's |
@wilkinsona #437 looks already covered in https://github.com/spring-projects/spring-restdocs/blob/master/spring-restdocs-core/src/test/java/org/springframework/restdocs/payload/JsonContentHandlerTests.java#L79-L93, right?
I think the second part, removing |
Thanks, I've closed #437. Removing |
dfa2a78
to
3d7262a
Compare
@izeye Let's keep this open. I can cherry-pick the bits that we want. |
@wilkinsona Sorry, I didn't mean to close this PR. I accidentally force-pushed empty commit and that closed this PR 😅 |
Thanks once again, @izeye. This has been merged into 1.2.x and forward into master. |
This PR polishes some tests.