Find problem test in injection

This commit is contained in:
Nikolay Krasko
2016-03-28 19:14:29 +03:00
parent b4f5f0e10e
commit 193f5e9720
@@ -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 = "<caret><html></html>"
// """,
// """
// |import org.intellij.lang.annotations.Language
// |
// |fun template(): String = "<caret><html></html>"
// """
// )
fun testRemoveInjectionWithComment() = doRemoveInjectionTest(
"""
|//language=file-reference