Files
Nikita Bobko 89139a6e07 Reformat test data for MoveStatementTestGenerated. It fixes appropriate tests
Those test failures was caused by: "Fix path handling in a number of Kotlin tests".
In this coomit we extend `AbstractCodeMoverTest` from `KotlinLightCodeInsightFixtureTestCase`.
`KotlinLightCodeInsightFixtureTestCase` enables official Kotlin code style in `setUp`
what caused test failures because test data wasn't properly formatted.

The only problem here is that now we are in the middle of transitioning between
current Kotlin code style and official one. So if you user has some old sandbox
for debug IDE then he/she has different behaviour in tests and IDE what may lead
to misunderstanding (what actually happened to me). One of the ways to solve this
problem is to check that test data is properly formatted before running any
test: KT-40264. This may be implemented in future

GitOrigin-RevId: 9efc69ae4b33bf363e6aeb9a416bf216ee33553e
2020-07-13 18:46:56 +03:00

6 lines
59 B
Kotlin

// MOVE: up
val x = listOf(
1,
4,
<caret>2, 3
)