Skip to content

Commit 512ff7c

Browse files
committed
Merge branch '6.1.x'
2 parents a3afe51 + 32c80d5 commit 512ff7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

framework-docs/modules/ROOT/pages/testing/webtestclient.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,13 +672,13 @@ Kotlin::
672672
val result = client.get().uri("/persons/1")
673673
.exchange()
674674
.expectStatus().isOk()
675-
.expectBody(Person.class)
676-
.returnResult();
675+
.expectBody(Person::class.java)
676+
.returnResult()
677677
678678
// For a response without a body
679679
val result = client.get().uri("/path")
680680
.exchange()
681-
.expectBody().isEmpty();
681+
.expectBody().isEmpty()
682682
----
683683
======
684684

0 commit comments

Comments
 (0)