diff --git a/kotlin-power-assert-plugin/src/test/kotlin/com/bnorm/power/DebugFunctionTest.kt b/kotlin-power-assert-plugin/src/test/kotlin/com/bnorm/power/DebugFunctionTest.kt index 1470322fe03..34edaa0d940 100644 --- a/kotlin-power-assert-plugin/src/test/kotlin/com/bnorm/power/DebugFunctionTest.kt +++ b/kotlin-power-assert-plugin/src/test/kotlin/com/bnorm/power/DebugFunctionTest.kt @@ -71,7 +71,7 @@ fun main() { val out = ByteArrayOutputStream() System.setOut(PrintStream(out)) main.invoke(null) - return out.toString(Charsets.UTF_8) + return out.toString("UTF-8") } catch (t: InvocationTargetException) { throw t.cause!! } finally {