summaryrefslogtreecommitdiff
path: root/src/test/java/com/seaofnodes/simple/Chapter03Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/seaofnodes/simple/Chapter03Test.java')
-rw-r--r--src/test/java/com/seaofnodes/simple/Chapter03Test.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/seaofnodes/simple/Chapter03Test.java b/src/test/java/com/seaofnodes/simple/Chapter03Test.java
index 8923566a..f1e4af12 100644
--- a/src/test/java/com/seaofnodes/simple/Chapter03Test.java
+++ b/src/test/java/com/seaofnodes/simple/Chapter03Test.java
@@ -59,7 +59,7 @@ public class Chapter03Test {
new CodeGen("int a=1; int b=2; int !c=0; { int b=3; c=a+b;").parse();
fail();
} catch( RuntimeException e ) {
- assertEquals("Syntax error, expected }: ",e.getMessage());
+ assertEquals("Syntax error, expected `}` but found `EOF`",e.getMessage());
}
}