diff --git a/src/docs/asciidoc/testing-webtestclient.adoc b/src/docs/asciidoc/testing-webtestclient.adoc index 8023e9790e..17a17cfc96 100644 --- a/src/docs/asciidoc/testing-webtestclient.adoc +++ b/src/docs/asciidoc/testing-webtestclient.adoc @@ -223,7 +223,7 @@ Or if you want to assert there is no response content, use this: .body(personMono, Person.class) .exchange() .expectStatus().isCreated() - .expectBody().isEmpty; + .expectBody().isEmpty(); ----