Fix HighlightingTestGenerated and LambdaImplicitHintsTest
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
||||
<info textAttributesKey="KOTLIN_ANNOTATION">@SuppressWarnings</info> class <info textAttributesKey="KOTLIN_CLASS">TheClass</info> : <info textAttributesKey="KOTLIN_TRAIT">Runnable</info>, <info textAttributesKey="KOTLIN_CONSTRUCTOR">Thread</info>() {
|
||||
val <info textAttributesKey="KOTLIN_INSTANCE_PROPERTY">x</info> = <info textAttributesKey="KOTLIN_EXTENSION_PROPERTY">id</info>
|
||||
val <info textAttributesKey="KOTLIN_INSTANCE_PROPERTY">x</info> = <info textAttributesKey="KOTLIN_SYNTHETIC_EXTENSION_PROPERTY">id</info>
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ class LambdaImplicitHintsTest : KotlinLightCodeInsightFixtureTestCase() {
|
||||
check(
|
||||
"""
|
||||
val x = listOf("").filter {<hint text="it: String" />
|
||||
it.startsWith("")
|
||||
it.startsWith(<hint text="prefix:" />"")
|
||||
}"""
|
||||
)
|
||||
}
|
||||
@@ -38,7 +38,7 @@ class LambdaImplicitHintsTest : KotlinLightCodeInsightFixtureTestCase() {
|
||||
fun testSingleLine() {
|
||||
check(
|
||||
"""
|
||||
val x = listOf("").filter { it.startsWith("") }
|
||||
val x = listOf("").filter { it.startsWith(<hint text="prefix:" />"") }
|
||||
"""
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user