Reuse intention test data in inspection tests
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
<problems>
|
||||
<problem>
|
||||
<file>main.kt</file>
|
||||
<line>3</line>
|
||||
<module>light_idea_test_case</module>
|
||||
<entry_point TYPE="file" FQNAME="temp:///src/src/main.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Explicit 'get'</problem_class>
|
||||
<description>Replace 'get' call with index operator</description>
|
||||
</problem>
|
||||
</problems>
|
||||
@@ -1 +0,0 @@
|
||||
// INSPECTION_CLASS: org.jetbrains.jet.plugin.inspections.ExplicitGetInspection
|
||||
@@ -1,4 +0,0 @@
|
||||
fun foo() {
|
||||
val a = Array<Int>(10) { it }
|
||||
println(a.get(5))
|
||||
}
|
||||
Reference in New Issue
Block a user