Skip to content

Commit

Permalink
fix: apply ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Artiukhov committed Oct 2, 2024
1 parent e2039b0 commit 7b2611f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ data class FeedbackResponse(
val compilableTestCases: MutableSet<TestCaseGeneratedByLLM>,
) {
init {
if ((executionResult == FeedbackCycleExecutionResult.OK || executionResult == FeedbackCycleExecutionResult.NO_COMPILABLE_TEST_CASES_GENERATED)
&& (generatedTestSuite == null)
if ((executionResult == FeedbackCycleExecutionResult.OK || executionResult == FeedbackCycleExecutionResult.NO_COMPILABLE_TEST_CASES_GENERATED) &&
(generatedTestSuite == null)
) {
throw IllegalArgumentException("Test suite must be provided when FeedbackCycleExecutionResult is OK, got null")
}
Expand Down

0 comments on commit 7b2611f

Please sign in to comment.