Remove ConvertAssertToIfWithThrowIntention

Relates to #KT-31502
This commit is contained in:
Dmitry Gridin
2019-05-27 17:07:46 +07:00
parent fe9bd9ee20
commit 1adc2ae4c8
46 changed files with 0 additions and 514 deletions
@@ -1,5 +0,0 @@
fun foo() {
<spot>if (!true) {
throw AssertionError("text")
}</spot>
}
@@ -1,3 +0,0 @@
fun foo() {
<spot>assert(true, "text")</spot>
}
@@ -1,5 +0,0 @@
<html>
<body>
This intention converts an <b>assert</b> into an <b>if</b> statement that throws an exception if the condition is false.
</body>
</html>