diff --git a/idea/tests/org/jetbrains/kotlin/psi/KotlinInjectionTest.kt b/idea/tests/org/jetbrains/kotlin/psi/KotlinInjectionTest.kt index d0813397d77..9180a337263 100644 --- a/idea/tests/org/jetbrains/kotlin/psi/KotlinInjectionTest.kt +++ b/idea/tests/org/jetbrains/kotlin/psi/KotlinInjectionTest.kt @@ -177,6 +177,20 @@ class KotlinInjectionTest : KotlinLightCodeInsightFixtureTestCase() { """ ) + // TODO: Doesn't work. UnInjectionLanguageAction is not enabled because of absent LanguageInjectionSupport.INJECTOR_SUPPORT user data. +// fun testRemoveInjectionFromOneLineFunWithAnnotation() = doRemoveInjectionTest( +// """ +// |import org.intellij.lang.annotations.Language +// | +// |@Language("HTML") fun template(): String = "" +// """, +// """ +// |import org.intellij.lang.annotations.Language +// | +// |fun template(): String = "" +// """ +// ) + fun testRemoveInjectionWithComment() = doRemoveInjectionTest( """ |//language=file-reference