From 6cef8c1f91f9a083465828e605be9ff315a68bf4 Mon Sep 17 00:00:00 2001 From: Dmitriy Dolovov Date: Thu, 11 Nov 2021 22:43:59 +0300 Subject: [PATCH] [Native][tests] Minor. Drop unused function --- .../org/jetbrains/kotlin/konan/blackboxtest/TestCompiler.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/TestCompiler.kt b/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/TestCompiler.kt index 0f5197e38b4..0f0de0ad211 100644 --- a/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/TestCompiler.kt +++ b/native/native.tests/tests/org/jetbrains/kotlin/konan/blackboxtest/TestCompiler.kt @@ -176,9 +176,6 @@ internal sealed interface TestCompilationResult { is DependencyFailures -> fail { describeDependencyFailures() } } - val TestCompilationResult.resultingArtifact: File - get() = assertSuccess().resultingArtifact - private fun Failure.describeFailure() = when (this) { is CompilerFailure -> "Compilation failed.\n\n$loggedData" is UnexpectedFailure -> "Compilation failed with unexpected exception.\n\n$loggedData"