Works also for top level fun - why not?
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import kotlin.test.assertFailsWith
|
||||
|
||||
// INTENTION_TEXT: "Add import for 'kotlin.test.assertFailsWith'"
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo() {
|
||||
<caret>assertFailsWith<Exception>("", {})
|
||||
assertFailsWith(RuntimeException::class.java, "", {})
|
||||
}
|
||||
Reference in New Issue
Block a user