Skip to content

Commit

Permalink
Update detekt-rules-ruleauthors/src/test/kotlin/io/gitlab/arturbosch/…
Browse files Browse the repository at this point in the history
…detekt/authors/RequiresTypeResolutionSpec.kt

Co-authored-by: marschwar <marschwar@users.noreply.github.com>
  • Loading branch information
BraisGabin and marschwar committed Aug 7, 2022
1 parent d8d6139 commit eed968d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -12,7 +12,7 @@ internal class RequiresTypeResolutionSpec(private val env: KotlinCoreEnvironment
private val rule = RequiresTypeResolution()

@Test
fun `should not report classes that doesn't extend from BaseRule`() {
fun `should not report classes that don't extend from BaseRule`() {
val code = """
class A {
val issue: Int = error("bindingContext")
Expand Down Expand Up @@ -75,7 +75,7 @@ internal class RequiresTypeResolutionSpec(private val env: KotlinCoreEnvironment
}

@Test
fun `should not report Rules that doesn't use bindingContext and are annotated`() {
fun `should report Rules that don't use bindingContext and are annotated`() {
val code = """
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Rule
Expand Down

0 comments on commit eed968d

Please sign in to comment.