mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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
7 lines
71 B
Kotlin
7 lines
71 B
Kotlin
// MOVE: down
|
|
val x = foo(
|
|
<caret>a, // a
|
|
b, // b
|
|
c // c
|
|
)
|