"Convert to sealed class" intention: don't suggest when no "class" keyword
#KT-32365 Fixed
This commit is contained in:
committed by
Dmitry Gridin
parent
9786564d75
commit
1f89c0f730
@@ -4275,6 +4275,11 @@ public class IntentionTestGenerated extends AbstractIntentionTest {
|
||||
runTest("idea/testData/intentions/convertEnumToSealedClass/membersOnly.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noClassKeyword.kt")
|
||||
public void testNoClassKeyword() throws Exception {
|
||||
runTest("idea/testData/intentions/convertEnumToSealedClass/noClassKeyword.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("notEnum.kt")
|
||||
public void testNotEnum() throws Exception {
|
||||
runTest("idea/testData/intentions/convertEnumToSealedClass/notEnum.kt");
|
||||
|
||||
Reference in New Issue
Block a user