Remove trailing comma from some tests
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ class SmartEnterCompletionTest : KotlinLightCodeInsightFixtureTestCase() {
|
||||
fun test() {
|
||||
foo(
|
||||
1 +
|
||||
2,
|
||||
2
|
||||
)<caret>
|
||||
}
|
||||
"""
|
||||
|
||||
@@ -14,7 +14,7 @@ class A {
|
||||
return JetBundle.message(
|
||||
"x.in.y",
|
||||
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 = " + ",
|
||||
// comment4
|
||||
// comment1
|
||||
transform = Int::toString,
|
||||
transform = Int::toString
|
||||
)
|
||||
Vendored
+1
-1
@@ -7,6 +7,6 @@ val x = listOf(1, 2, 3).joinTo(
|
||||
// comment2
|
||||
prefix = "= ",
|
||||
// comment3
|
||||
separator = " + ",
|
||||
separator = " + "
|
||||
// comment4
|
||||
) { "$it*$it" }
|
||||
Vendored
+1
-1
@@ -3,6 +3,6 @@
|
||||
fun test() {
|
||||
<caret>listOfNotNull(
|
||||
true, // comment1
|
||||
null, // comment2
|
||||
null // comment2
|
||||
).first()
|
||||
}
|
||||
@@ -13,7 +13,7 @@ class A {
|
||||
return JetBundle.message(
|
||||
"x.in.y",
|
||||
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