Fix warnings in Kotlin tests
This commit is contained in:
@@ -24,6 +24,7 @@ import org.springframework.context.support.BeanDefinitionDsl.*
|
||||
import org.springframework.core.env.SimpleCommandLinePropertySource
|
||||
import org.springframework.core.env.get
|
||||
|
||||
@Suppress("UNUSED_EXPRESSION")
|
||||
class BeanDefinitionDslTests {
|
||||
|
||||
@Test
|
||||
|
||||
@@ -34,6 +34,7 @@ inline fun <reified T : Any, S : Publisher<T>> WebTestClient.RequestBodySpec.bod
|
||||
* @author Sebastien Deleuze
|
||||
* @since 5.0
|
||||
*/
|
||||
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
|
||||
inline fun <reified B : Any> WebTestClient.ResponseSpec.expectBody(): WebTestClient.BodySpec<B, *> =
|
||||
expectBody(B::class.java)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user