deepsourcestatus / test-repository

Array comparison using conventional comparison operators SC-W1046
Bug risk
Critical
1 occurrence in this check
Comparison operators on Arrays do not compare their contents or values
30  def readFile(path: String): String = Source.fromFile(path).mkString
31
32  @Deprecated()
33  def cmpArray1(arr1: Array[Int], arr2: Array[Int]): Boolean = arr1 == arr234  def stringifyArray(arr: Array[Int]): String                = arr.toString
35}
36