Intention to transform an if an AssertionError throw into an assert
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
fun foo() {
|
||||
val x = true
|
||||
if <caret>(x && false) {
|
||||
throw AssertionError("text")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user