Files
kotlin/idea/testData/expressionSelection/binaryExpr.kt
Tuomas Tynkkynen 998d2c5ec8 Add tests for JetRefactoringUtil.selectExpression
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.
2014-02-24 22:40:05 +04:00

3 lines
56 B
Kotlin
Vendored

val f = 4<selection>0.5 + 1.</selection>5
// 40.5 + 1.5