aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-04-02 14:52:21 +0100
committerMichael Williamson <mike@zwobble.org>2016-04-02 14:52:21 +0100
commit7fccda0f13f6f8b7f7a1f6e87a648fe1c3396656 (patch)
tree3b73a695446faaff9e50232584815e7ef50d9e9c /src/test
parentdef25b112080df902121b09a35c02d1fe7728386 (diff)
Use JSON to configure CLI
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/zwobble/couscous/tests/JavaToInterpreterTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/zwobble/couscous/tests/JavaToInterpreterTests.java b/src/test/java/org/zwobble/couscous/tests/JavaToInterpreterTests.java
index 11883ca..77a7305 100644
--- a/src/test/java/org/zwobble/couscous/tests/JavaToInterpreterTests.java
+++ b/src/test/java/org/zwobble/couscous/tests/JavaToInterpreterTests.java
@@ -28,7 +28,7 @@ public class JavaToInterpreterTests extends CompilerTests {
ScalarType returnType
) throws IOException, InterruptedException {
JavaFrontend frontend = new JavaFrontend();
- List<TypeNode> classNodes = frontend.readSourceDirectory(list(directory), directory);
+ List<TypeNode> classNodes = frontend.readSourceDirectory(list(directory), list(directory));
Project project = JavaProject.of(classNodes);
Interpreter interpreter = new Interpreter(project);