From d8e277323c617b7c5b7e4528bccd2c5484f006ea Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Mon, 29 Nov 2021 11:51:31 +1100 Subject: [PATCH] Add import to docs This makes it clear where the 'equalTo' method is coming from. Fixes #21755 --- docs/src/main/asciidoc/kotlin.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/main/asciidoc/kotlin.adoc b/docs/src/main/asciidoc/kotlin.adoc index 728587179cd1c..fcb02ef0341ac 100644 --- a/docs/src/main/asciidoc/kotlin.adoc +++ b/docs/src/main/asciidoc/kotlin.adoc @@ -97,6 +97,8 @@ To make the test pass, we also need to update `GreetingResourceTest.kt` like so: [source,kotlin] ---- +import org.hamcrest.Matchers.equalTo + @QuarkusTest class GreetingResourceTest {