Use Char.MIN_VALUE and MAX_VALUE in tests

This commit is contained in:
Ilya Gorbunov
2018-06-22 21:39:22 +03:00
parent 92e149fa40
commit 5f3a7f0147
8 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ public class RangeTest {
assertTrue('Y' in openRange)
assertFalse('Z' in openRange)
assertTrue(('A' until '\u0000').isEmpty())
assertTrue(('A' until Char.MIN_VALUE).isEmpty())
}
@Test fun doubleRange() {