Fix HighlightingTestGenerated and LambdaImplicitHintsTest

This commit is contained in:
Dmitry Jemerov
2018-01-09 18:04:39 +01:00
parent 8c7f57ca83
commit 361824e170
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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:" />"") }
"""
)
}