Fix incorrect class reference syntax in Kotlin code sample

Closes gh-32733
This commit is contained in:
Seungrae Kim 2024-04-30 21:30:39 +09:00 committed by Sam Brannen
parent 0241a02e66
commit 32c80d5ae6
1 changed files with 3 additions and 3 deletions

View File

@ -672,13 +672,13 @@ Kotlin::
val result = client.get().uri("/persons/1")
.exchange()
.expectStatus().isOk()
.expectBody(Person.class)
.returnResult();
.expectBody(Person::class.java)
.returnResult()
// For a response without a body
val result = client.get().uri("/path")
.exchange()
.expectBody().isEmpty();
.expectBody().isEmpty()
----
======