mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
testdata for IDEA-121055
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import java.util.List;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import static java.util.stream.Collectors.toList;
|
||||
|
||||
class TypeDetectionTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
List<Number> numbers = Stream.of(1, 2).collect(toList());
|
||||
}
|
||||
|
||||
}
|
||||
@@ -140,6 +140,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA121055() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() throws Exception {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user