mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
testdata for IDEA-120992
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import java.util.Arrays;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
class Test {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Arrays.asList("these", "are", "some", "words").stream()
|
||||
.collect(Collectors.toMap(Function.identity(), (s) -> 1, Integer::sum));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -118,6 +118,10 @@ public class NewLambdaHighlightingTest extends LightDaemonAnalyzerTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testIDEA120992() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
doTest(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user