Skip to content

Commit

Permalink
Fix more annotation on separate line
Browse files Browse the repository at this point in the history
  • Loading branch information
chao2zhang committed Oct 7, 2022
1 parent 4c40352 commit 60791ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Expand Up @@ -6,6 +6,7 @@ import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test

class DuplicateCaseInWhenExpressionSpec {

private val subject = DuplicateCaseInWhenExpression(Config.empty)

@Test
Expand Down
Expand Up @@ -14,6 +14,7 @@ class MissingWhenCaseSpec(private val env: KotlinCoreEnvironment) {

@Nested
inner class `MissingWhenCase rule` {

private val subject = MissingWhenCase()

@Nested
Expand Down Expand Up @@ -309,6 +310,7 @@ class MissingWhenCaseSpec(private val env: KotlinCoreEnvironment) {

@Nested
inner class `MissingWhenCase rule when else expression is not considered` {

private val subject = MissingWhenCase(
TestConfig(mapOf("allowElseExpression" to false))
)
Expand Down
Expand Up @@ -10,6 +10,7 @@ import org.junit.jupiter.api.Test

@KotlinCoreEnvironmentTest
class RedundantElseInWhenSpec(private val env: KotlinCoreEnvironment) {

private val subject = RedundantElseInWhen()

@Nested
Expand Down

0 comments on commit 60791ad

Please sign in to comment.