testdata fixed

This commit is contained in:
Anna Kozlova
2014-04-01 17:29:11 +02:00
parent 29265b3105
commit fe7b903e50
2 changed files with 2 additions and 2 deletions
@@ -4,7 +4,7 @@ interface SAM<X> {
class Foo {
void test() {
SAM<X> c = (i, j) -> "" + i + j;
SAM<Integer> c = (i, j) -> "" + i + j;
SAM<Integer> s3 = m(c);
}
<X> SAM<X> m(SAM<X> s) { return null; }
@@ -433,7 +433,7 @@ public class IntroduceVariableTest extends LightCodeInsightTestCase {
}
public void testLambdaExprNotAccepted() {
doTest(new MockIntroduceVariableHandler("c", false, false, false, "SAM<X>"));
doTest(new MockIntroduceVariableHandler("c", false, false, false, "SAM<java.lang.Integer>"));
}
public void testOneLineLambdaVoidCompatible() {