Fixed test data after commit: https://github.com/JetBrains/kotlin/commit/602de317d68c3a4408829e2f1c7e93f31936399f
This commit is contained in:
+2
-1
@@ -7,6 +7,7 @@ internal object Test {
|
|||||||
if (toIndex > size)
|
if (toIndex > size)
|
||||||
throw IndexOutOfBoundsException("toIndex = " + toIndex)
|
throw IndexOutOfBoundsException("toIndex = " + toIndex)
|
||||||
if (fromIndex > toIndex)
|
if (fromIndex > toIndex)
|
||||||
throw IllegalArgumentException("fromIndex($fromIndex) > toIndex($toIndex)")
|
throw IllegalArgumentException("fromIndex(" + fromIndex
|
||||||
|
+ ") > toIndex(" + toIndex + ")")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user