Skip to content

Fix common string cases of UnusedAssertionDetector #72

Description

@jzbrooks

assertThat(myString.contains("Foo")) replaced with assertThat(myString).contains("Foo")

Considering other cases of CharSequence assertions here: https://github.com/willowtreeapps/assertk/blob/main/assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt

Split from #64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions