mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 08:31:30 +00:00
Add tests for JetRefactoringUtil.selectExpression, which is invoked by e.g. extract variable when some text is selected. Test cases under idea/testData/expressionSelection/ should contain Kotlin files with the usual <selection> tags, with the expected result of selectExpression in the last comment of the file.
3 lines
56 B
Kotlin
Vendored
3 lines
56 B
Kotlin
Vendored
val f = 4<selection>0.5 + 1.</selection>5
|
|
// 40.5 + 1.5
|