From f8424624ca0e2ea9cba1151721514da5696c9e9a Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Tue, 13 Feb 2018 17:20:33 +0100 Subject: [PATCH] Minor, check compiler output in ExperimentalIntegrationTest --- .../kotlin/jvm/compiler/ExperimentalIntegrationTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/tests/org/jetbrains/kotlin/jvm/compiler/ExperimentalIntegrationTest.kt b/compiler/tests/org/jetbrains/kotlin/jvm/compiler/ExperimentalIntegrationTest.kt index 45bc5bf3673..6fc3c340410 100644 --- a/compiler/tests/org/jetbrains/kotlin/jvm/compiler/ExperimentalIntegrationTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/jvm/compiler/ExperimentalIntegrationTest.kt @@ -20,7 +20,7 @@ class ExperimentalIntegrationTest : AbstractKotlinCompilerIntegrationTest() { "1.3", "-Xexperimental=lib.ExperimentalAPI" ), - checkKotlinOutput = { output -> output.trimEnd().endsWith("OK") } + checkKotlinOutput = { output -> assertTrue(output, output.trimEnd().endsWith("OK")) } ) compileKotlin("usage.kt", tmpdir, listOf(lib), additionalOptions = listOf("-Xskip-metadata-version-check")) } @@ -33,7 +33,7 @@ class ExperimentalIntegrationTest : AbstractKotlinCompilerIntegrationTest() { "1.3", "-Xexperimental=lib.ExperimentalAPI" ), - checkKotlinOutput = { output -> output.trimEnd().endsWith("OK") } + checkKotlinOutput = { output -> assertTrue(output, output.trimEnd().endsWith("OK")) } ) compileKotlin( "usage.kt", File(tmpdir, "usage.js"), listOf(lib), K2JSCompiler(),