Added MIN_JAVA_VERSION directive for intentions and fixed failed test(convertIfToAssert/inapplicableCauseSent.kt).

This commit is contained in:
Zalim Bashorov
2014-04-24 13:24:27 +04:00
parent f61db2decc
commit 525709bced
2 changed files with 7 additions and 1 deletions
@@ -1,7 +1,8 @@
// IS_APPLICABLE: false
// WITH_RUNTIME
// MIN_JAVA_VERSION: 1.7
fun foo() {
if <caret>(1 == 0) {
throw AssertionError("text", Exception())
}
}
}