diff --git a/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/ShakespearePlaysScrabble.kt b/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/ShakespearePlaysScrabble.kt index a2e5d2c178..6990c0c5cd 100644 --- a/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/ShakespearePlaysScrabble.kt +++ b/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/ShakespearePlaysScrabble.kt @@ -66,7 +66,7 @@ abstract class ShakespearePlaysScrabble { private fun readResource(path: String) = BufferedReader(InputStreamReader(GZIPInputStream(this.javaClass.classLoader.getResourceAsStream(path)))).lines() - .map { it.toLowerCase() }.collect(Collectors.toSet()) + .map { it.lowercase() }.collect(Collectors.toSet()) init { val expected = listOf(120 to listOf("jezebel", "quickly"),