mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix code snippets in Javadoc for exchangeSuccessfully()
Closes gh-35642 Signed-off-by: Dónal Murtagh <donal.murtagh@clarusonesourcing.com>
This commit is contained in:
committed by
Sam Brannen
parent
a7c43d90fd
commit
22ecab5aab
+1
-1
@@ -709,7 +709,7 @@ public interface WebTestClient {
|
||||
* Variant of {@link #exchange()} that expects a successful response.
|
||||
* Effectively, a shortcut for:
|
||||
* <pre class="code">
|
||||
* exchange().is2xxSuccessful()
|
||||
* exchange().expectStatus().is2xxSuccessful()
|
||||
* </pre>
|
||||
* @return a spec for expectations on the response
|
||||
* @since 7.0
|
||||
|
||||
+1
-1
@@ -523,7 +523,7 @@ public interface RestTestClient {
|
||||
* Variant of {@link #exchange()} that expects a successful response.
|
||||
* Effectively, a shortcut for:
|
||||
* <pre class="code">
|
||||
* exchange().is2xxSuccessful()
|
||||
* exchange().expectStatus().is2xxSuccessful()
|
||||
* </pre>
|
||||
* @return a spec for expectations on the response
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user