Skip to content

Commit

Permalink
Improve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisGabin committed Aug 23, 2024
1 parent 67d6a18 commit 539bc6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}"))
}
}
}

0 comments on commit 539bc6a

Please sign in to comment.