Skip to content

Commit

Permalink
Removing test due to it failing compilation check
Browse files Browse the repository at this point in the history
  • Loading branch information
severn-everett committed Dec 13, 2021
1 parent 71ffd13 commit cc5c1f2
Showing 1 changed file with 0 additions and 8 deletions.
Expand Up @@ -346,14 +346,6 @@ class OptionalUnitSpec : Spek({
assertThat(findings).isEmpty()
}

it("should report when it cannot resolve the initializer call") {
val code = """
fun doFoo(): Unit = unknownCall {}
""".trimIndent()
val findings = subject.compileAndLintWithContext(env, code)
assertThat(findings).hasSize(1)
}

it("should report on function initializers when there is no context") {
val code = """
fun test(): Unit = throw UnsupportedOperationException()
Expand Down

0 comments on commit cc5c1f2

Please sign in to comment.