We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c197be commit e00c9b7Copy full SHA for e00c9b7
1 file changed
core/src/main/kotlin/org/evomaster/core/utils/MultiCharacterRange.kt
@@ -48,8 +48,8 @@ class MultiCharacterRange private constructor(val ranges: List<CharacterRange>)
48
49
for ((start, end) in internalRanges.sortedBy { it.start }) {
50
when {
51
- end < currentStart - 1 -> newInternalRanges += CharacterRange(start, end)
52
- start > currentEnd + 1 -> {
+ end.code < currentStart.code - 1 -> newInternalRanges += CharacterRange(start, end)
+ start.code > currentEnd.code + 1 -> {
53
if (!merged) {
54
newInternalRanges += CharacterRange(currentStart, currentEnd)
55
merged = true
0 commit comments