diff --git a/test/bytecode/LambdaTest.java b/test/bytecode/LambdaTest.java index f29690cb..12e16829 100644 --- a/test/bytecode/LambdaTest.java +++ b/test/bytecode/LambdaTest.java @@ -13,7 +13,7 @@ public class LambdaTest { @Test public void generateBC() throws Exception { - path = System.getProperty("user.dir")+"/test/bytecode/javFiles/Lambda.jav"; + path = System.getProperty("user.dir")+"/test/bytecode/javFiles/Lambda2.jav"; fileToTest = new File(path); compiler = new JavaTXCompiler(fileToTest); compiler.generateBytecode(); diff --git a/test/bytecode/javFiles/Lambda2.jav b/test/bytecode/javFiles/Lambda2.jav index fbcdaf55..92f32b71 100644 --- a/test/bytecode/javFiles/Lambda2.jav +++ b/test/bytecode/javFiles/Lambda2.jav @@ -1,3 +1,4 @@ +import java.lang.String; public class Lambda2 { @@ -23,10 +24,12 @@ public static List map(List input, Function func) { } class List{ - A get(); + /* A get(); void add(A); + */ } - +/* class Function{ B apply(A a); -} \ No newline at end of file +} +*/ \ No newline at end of file