Files
Roman Efremov 7bae0bd083 [inspection] Fix tests in ConvertTwoComparisonToRange inspection
Tests start failing after KTIJ-25447, because
rangeUntil has more priority than until and now
opt-in is not needed for rangeUntil.

GitOrigin-RevId: 1a6cf8e1c82c3618fcd8661a5f45cbfbd6c223a8
2023-05-17 13:46:16 +00:00

4 lines
122 B
Kotlin

// WITH_STDLIB
// COMPILER_ARGUMENTS: -XXLanguage:-RangeUntilOperator
val N = 42
fun test(a: Int) = a >= 0 && a < N<caret>