Simplify message expression from lambda argument when converting assert to if.
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@
|
||||
fun foo() {
|
||||
val x = true
|
||||
val y = false
|
||||
<caret>assert(x || y, "text")
|
||||
<caret>assert(x || y) { "text" }
|
||||
}
|
||||
Reference in New Issue
Block a user