From d35a37a449d31e6f4b43b937abf7b0e1fc497828 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 16 Jun 2016 20:21:25 +0300 Subject: Grammar now uses reverse polish notation --- test/MainTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/MainTest.java') 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); } -- cgit v1.3