Temporarily avoid endExclusive in tests

(until bootstrap)
This commit is contained in:
Ilya Gorbunov
2022-06-24 06:10:05 +03:00
committed by Space
parent 4475b15037
commit 227953a267
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ public class URangeTest {
assertEquals(closedRange, openRange2)
assertTrue((1u until UInt.MIN_VALUE).isEmpty())
assertFailsWith<IllegalStateException> { (1u..UInt.MAX_VALUE).endExclusive }
// assertFailsWith<IllegalStateException> { (1u..UInt.MAX_VALUE).endExclusive }
}
@Test
@@ -164,7 +164,7 @@ public class URangeTest {
assertEquals(closedRange, openRange2)
assertTrue((0uL until ULong.MIN_VALUE).isEmpty())
assertFailsWith<IllegalStateException> { (1uL..ULong.MAX_VALUE).endExclusive }
// assertFailsWith<IllegalStateException> { (1uL..ULong.MAX_VALUE).endExclusive }
}
@Suppress("EmptyRange")