From 994a1571b723596d9f4d3d8e41574c5874fc1e7c Mon Sep 17 00:00:00 2001 From: luca9913 Date: Tue, 27 Jun 2023 19:14:28 +0200 Subject: [PATCH] Changed resources path in TestCodegen after merge --- src/test/java/targetast/TestCodegen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/targetast/TestCodegen.java b/src/test/java/targetast/TestCodegen.java index 09b6a490..92336170 100644 --- a/src/test/java/targetast/TestCodegen.java +++ b/src/test/java/targetast/TestCodegen.java @@ -37,7 +37,7 @@ public class TestCodegen { } public static Map> generateClassFiles(IByteArrayClassLoader classLoader, String... files) throws IOException, ClassNotFoundException { - var path = Path.of(System.getProperty("user.dir"), "src/test/resources/javFiles/"); + var path = Path.of(System.getProperty("user.dir"), "resources/bytecode/javFiles/"); var filenames = Arrays.stream(files).map(filename -> Path.of(path.toString(), filename).toFile()).toList(); var compiler = new JavaTXCompiler(filenames, List.of(path.toFile(), outputPath.toFile())); var resultSet = compiler.typeInference();