From ce119c9d92d3ec43bba7519b65c888b009bf9dd6 Mon Sep 17 00:00:00 2001 From: Brian Norman Date: Sat, 3 Apr 2021 17:51:57 -0500 Subject: [PATCH] Fix Java 8 compilation error --- .../src/test/kotlin/com/bnorm/power/DebugFunctionTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {