Refactoring: make "replace array equality ..." an inspection
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
// FIX: Replace '!=' with 'contentEquals'
|
||||
fun foo() {
|
||||
val a = arrayOf("a", "b", "c")
|
||||
val b = arrayOf("a", "b", "c")
|
||||
if (a <caret>!= b) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user