Browse Source

Fix typos

pull/35567/head
Stéphane Nicoll 3 months ago
parent
commit
a2c0e1cec8
  1. 2
      spring-test/src/main/kotlin/org/springframework/test/web/reactive/server/WebTestClientExtensions.kt
  2. 2
      spring-test/src/main/kotlin/org/springframework/test/web/servlet/client/RestTestClientExtensions.kt

2
spring-test/src/main/kotlin/org/springframework/test/web/reactive/server/WebTestClientExtensions.kt

@ -59,7 +59,7 @@ inline fun <reified T : Any> RequestBodySpec.body(flow: Flow<T>): RequestHeaders
/** /**
* Extension for [ResponseSpec.expectBody] providing an `expectBody<Foo>()` variant * Extension for [ResponseSpec.expectBody] providing an `expectBody<Foo>()` variant
* leveraging Kotlin reified type parameters. This extension is not subject ot type * leveraging Kotlin reified type parameters. This extension is not subject to type
* erasure and retains actual generic type arguments. * erasure and retains actual generic type arguments.
* *
* @author Sebastien Deleuze * @author Sebastien Deleuze

2
spring-test/src/main/kotlin/org/springframework/test/web/servlet/client/RestTestClientExtensions.kt

@ -22,7 +22,7 @@ import org.springframework.test.web.servlet.client.RestTestClient.ResponseSpec
/** /**
* Extension for [ResponseSpec.expectBody] providing an `expectBody<Foo>()` variant * Extension for [ResponseSpec.expectBody] providing an `expectBody<Foo>()` variant
* leveraging Kotlin reified type parameters. This extension is not subject ot type * leveraging Kotlin reified type parameters. This extension is not subject to type
* erasure and retains actual generic type arguments. * erasure and retains actual generic type arguments.
* *
* @author Sebastien Deleuze * @author Sebastien Deleuze

Loading…
Cancel
Save