aboutsummaryrefslogtreecommitdiffstats
path: root/test/MainTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/MainTest.java')
-rw-r--r--test/MainTest.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/MainTest.java b/test/MainTest.java
index 256998d..d6171a5 100644
--- a/test/MainTest.java
+++ b/test/MainTest.java
@@ -1,6 +1,7 @@
package com.jantuomi.interpreter.test;
import com.jantuomi.interpreter.main.Main;
+import com.jantuomi.interpreter.main.exception.InterpreterException;
import org.junit.Test;
import static org.junit.Assert.assertFalse;
@@ -23,7 +24,7 @@ public class MainTest {
}
@Test
- public void testWholeProcedure() {
+ public void testWholeProcedure() throws InterpreterException {
String input = "x <- 1 + 2";
Main.run(input);
}