mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Update `OutputCapture` so that expensive build operations are only performed when necessary. This update is especially important for Kotlin users calling `"Expected String" in output` since this results in a call to Kotlin's `CharSequence.contains` which calls the `length()` and `charAt()` methods many times. Closes gh-32033