Added MIN_JAVA_VERSION directive for intentions and fixed failed test(convertIfToAssert/inapplicableCauseSent.kt).
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
// IS_APPLICABLE: false
|
||||
// WITH_RUNTIME
|
||||
// MIN_JAVA_VERSION: 1.7
|
||||
fun foo() {
|
||||
if <caret>(1 == 0) {
|
||||
throw AssertionError("text", Exception())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user