Remove ConvertIfWithThrowToAssertIntention

Relates to #KT-31502
This commit is contained in:
Dmitry Gridin
2019-05-27 19:09:55 +07:00
parent d3339cae46
commit afcb2f3436
28 changed files with 0 additions and 310 deletions
@@ -1,3 +0,0 @@
fun foo() {
<spot>assert(!true, "text")</spot>
}
@@ -1,5 +0,0 @@
fun foo() {
<spot>if (true) {
throw AssertionError("text")
}</spot>
}
@@ -1,5 +0,0 @@
<html>
<body>
This intention converts an <b>if</b> statement that throws an <b>AssertionError</b> exception into an assertion.
</body>
</html>