mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
[jvm] Add malformed nested preview test
GitOrigin-RevId: 1e05ab627c7b4ed09152b8d96b511ae757c33ff2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9c33a87074
commit
3b8c459757
@@ -72,6 +72,20 @@ class JavaJUnitMalformedDeclarationInspectionTest : JUnitMalformedDeclarationIns
|
||||
}
|
||||
""".trimIndent(), "Fix class signature")
|
||||
}
|
||||
fun `test malformed nested class preview`() {
|
||||
myFixture.testPreview(ULanguage.JAVA, """
|
||||
class A {
|
||||
@org.junit.jupiter.api.Nested
|
||||
static class <caret>B { }
|
||||
}
|
||||
""".trimIndent(), """
|
||||
class A {
|
||||
@org.junit.jupiter.api.Nested
|
||||
class B { }
|
||||
}
|
||||
""".trimIndent(), "Fix 'B' class signature")
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Malformed parameterized */
|
||||
|
||||
Reference in New Issue
Block a user