[Native][tests] Minor. Drop unused function
This commit is contained in:
@@ -176,9 +176,6 @@ internal sealed interface TestCompilationResult {
|
|||||||
is DependencyFailures -> fail { describeDependencyFailures() }
|
is DependencyFailures -> fail { describeDependencyFailures() }
|
||||||
}
|
}
|
||||||
|
|
||||||
val TestCompilationResult.resultingArtifact: File
|
|
||||||
get() = assertSuccess().resultingArtifact
|
|
||||||
|
|
||||||
private fun Failure.describeFailure() = when (this) {
|
private fun Failure.describeFailure() = when (this) {
|
||||||
is CompilerFailure -> "Compilation failed.\n\n$loggedData"
|
is CompilerFailure -> "Compilation failed.\n\n$loggedData"
|
||||||
is UnexpectedFailure -> "Compilation failed with unexpected exception.\n\n$loggedData"
|
is UnexpectedFailure -> "Compilation failed with unexpected exception.\n\n$loggedData"
|
||||||
|
|||||||
Reference in New Issue
Block a user