Remove ConvertIfWithThrowToAssertIntention
Relates to #KT-31502
This commit is contained in:
-3
@@ -1,3 +0,0 @@
|
||||
fun foo() {
|
||||
<spot>assert(!true, "text")</spot>
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
fun foo() {
|
||||
<spot>if (true) {
|
||||
throw AssertionError("text")
|
||||
}</spot>
|
||||
}
|
||||
-5
@@ -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>
|
||||
Reference in New Issue
Block a user