mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
1be3eecb2a
Prior to this commit, the ResponseSpec::expectBody extension function returned a special KotlinBodySpec, due to https://youtrack.jetbrains.com/issue/KT-5464. Now that KT-5464 has been fixed in Kotlin 1.6, we have no need for KotlinBodySpec, so this commit replaces it with a extension function that returns the Java BodySpec. Closes gh-28144