fix tests for RedundantIfInspection
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
// "Remove redundant 'if' statement" "true"
|
// "Remove redundant 'if' statement" "true"
|
||||||
fun bar() {
|
fun bar(value: Int): Boolean {
|
||||||
<caret>if (value % 2 == 0) {
|
<caret>if (value % 2 == 0) {
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
// "Remove redundant 'if' statement" "true"
|
// "Remove redundant 'if' statement" "true"
|
||||||
fun bar() {
|
fun bar(value: Int): Boolean {
|
||||||
return value % 2 == 0
|
return value % 2 == 0
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user