KT-5397 Simplify text of DeMorgan law conversion intentions
#KT-5397
This commit is contained in:
+2
@@ -1,3 +1,5 @@
|
||||
// INTENTION_TEXT: Replace '&&' with '||'
|
||||
|
||||
fun foo(a: Boolean, b: Boolean) : Boolean {
|
||||
return !(<caret>a && b)
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// INTENTION_TEXT: Replace '&&' with '||'
|
||||
|
||||
fun foo(a: Boolean, b: Boolean) : Boolean {
|
||||
return !a || !b
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// INTENTION_TEXT: Replace '&&' with '||'
|
||||
|
||||
fun foo(a: Boolean, b: Boolean, c: Boolean) : Boolean {
|
||||
return !(a && <caret>(b && c))
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// INTENTION_TEXT: Replace '&&' with '||'
|
||||
|
||||
fun foo(a: Boolean, b: Boolean, c: Boolean) : Boolean {
|
||||
return !a || !(b && c)
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// INTENTION_TEXT: Replace '||' with '&&'
|
||||
|
||||
fun foo(a: Boolean, b: Boolean) : Boolean {
|
||||
return !(<caret>a || b)
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// INTENTION_TEXT: Replace '||' with '&&'
|
||||
|
||||
fun foo(a: Boolean, b: Boolean) : Boolean {
|
||||
return !a && !b
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// INTENTION_TEXT: Replace '||' with '&&'
|
||||
|
||||
fun foo(a: Boolean, b: Boolean, c: Boolean) : Boolean {
|
||||
return !(<caret>a || (b && c))
|
||||
}
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
// INTENTION_TEXT: Replace '||' with '&&'
|
||||
|
||||
fun foo(a: Boolean, b: Boolean, c: Boolean) : Boolean {
|
||||
return !a && !(b && c)
|
||||
}
|
||||
Reference in New Issue
Block a user