testdata for IDEA-121055

This commit is contained in:
Anna Kozlova
2014-02-20 20:57:20 +01:00
parent 6900ca8776
commit 0f023fa5ab
2 changed files with 16 additions and 0 deletions

View File

@@ -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());
}
}

View File

@@ -140,6 +140,10 @@ public class GraphInferenceHighlightingTest extends LightDaemonAnalyzerTestCase
doTest();
}
public void testIDEA121055() throws Exception {
doTest();
}
private void doTest() throws Exception {
doTest(false);
}