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.
This commit is contained in:
committed by
Nikolay Krasko
parent
4968afebf8
commit
998d2c5ec8
@@ -0,0 +1,2 @@
|
||||
val f = 4<selection>0.5 + 1.</selection>5
|
||||
// 40.5 + 1.5
|
||||
Reference in New Issue
Block a user