diff --git a/lightsaber/src/test/kotlin/schwarz/it/lightsaber/truth/JvmCompilationResultSubject.kt b/lightsaber/src/test/kotlin/schwarz/it/lightsaber/truth/JvmCompilationResultSubject.kt index 1c14ce5e..badfb3e8 100644 --- a/lightsaber/src/test/kotlin/schwarz/it/lightsaber/truth/JvmCompilationResultSubject.kt +++ b/lightsaber/src/test/kotlin/schwarz/it/lightsaber/truth/JvmCompilationResultSubject.kt @@ -30,7 +30,7 @@ class JvmCompilationResultSubject( fun succeeded() { if (actual!!.exitCode != KotlinCompilation.ExitCode.OK) { - failWithoutActual(Fact.simpleFact("The compilation failed")) + failWithoutActual(Fact.simpleFact("The compilation failed with message:\n${actual.messages}")) } } }