fix tests for RedundantIfInspection

This commit is contained in:
Dmitry Jemerov
2016-05-23 20:21:46 +02:00
parent bb32c2d350
commit 3542834fa1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
// "Remove redundant 'if' statement" "true"
fun bar() {
fun bar(value: Int): Boolean {
<caret>if (value % 2 == 0) {
return true
} else {
@@ -1,4 +1,4 @@
// "Remove redundant 'if' statement" "true"
fun bar() {
fun bar(value: Int): Boolean {
return value % 2 == 0
}