Remove trailing comma from some tests
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ class SmartEnterCompletionTest : KotlinLightCodeInsightFixtureTestCase() {
|
|||||||
fun test() {
|
fun test() {
|
||||||
foo(
|
foo(
|
||||||
1 +
|
1 +
|
||||||
2,
|
2
|
||||||
)<caret>
|
)<caret>
|
||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ class A {
|
|||||||
return JetBundle.message(
|
return JetBundle.message(
|
||||||
"x.in.y",
|
"x.in.y",
|
||||||
DescriptorRenderer.COMPACT.render(declarationDescriptor),
|
DescriptorRenderer.COMPACT.render(declarationDescriptor),
|
||||||
IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor),
|
IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -7,5 +7,5 @@ val x = listOf(1, 2, 3).joinToString(
|
|||||||
separator = " + ",
|
separator = " + ",
|
||||||
// comment4
|
// comment4
|
||||||
// comment1
|
// comment1
|
||||||
transform = Int::toString,
|
transform = Int::toString
|
||||||
)
|
)
|
||||||
Vendored
+1
-1
@@ -7,6 +7,6 @@ val x = listOf(1, 2, 3).joinTo(
|
|||||||
// comment2
|
// comment2
|
||||||
prefix = "= ",
|
prefix = "= ",
|
||||||
// comment3
|
// comment3
|
||||||
separator = " + ",
|
separator = " + "
|
||||||
// comment4
|
// comment4
|
||||||
) { "$it*$it" }
|
) { "$it*$it" }
|
||||||
Vendored
+1
-1
@@ -3,6 +3,6 @@
|
|||||||
fun test() {
|
fun test() {
|
||||||
<caret>listOfNotNull(
|
<caret>listOfNotNull(
|
||||||
true, // comment1
|
true, // comment1
|
||||||
null, // comment2
|
null // comment2
|
||||||
).first()
|
).first()
|
||||||
}
|
}
|
||||||
@@ -13,7 +13,7 @@ class A {
|
|||||||
return JetBundle.message(
|
return JetBundle.message(
|
||||||
"x.in.y",
|
"x.in.y",
|
||||||
DescriptorRenderer.COMPACT.render(declarationDescriptor),
|
DescriptorRenderer.COMPACT.render(declarationDescriptor),
|
||||||
IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor),
|
IdeDescriptorRenderers.SOURCE_CODE_SHORT_NAMES_NO_ANNOTATIONS.render(containingDescriptor)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user