summaryrefslogtreecommitdiff
path: root/chapter05/src/test/java/com/seaofnodes
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/src/test/java/com/seaofnodes')
-rw-r--r--chapter05/src/test/java/com/seaofnodes/simple/Chapter04Test.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter05/src/test/java/com/seaofnodes/simple/Chapter04Test.java b/chapter05/src/test/java/com/seaofnodes/simple/Chapter04Test.java
index 9b8fa73f..55c0b15f 100644
--- a/chapter05/src/test/java/com/seaofnodes/simple/Chapter04Test.java
+++ b/chapter05/src/test/java/com/seaofnodes/simple/Chapter04Test.java
@@ -128,7 +128,7 @@ public class Chapter04Test {
@Test
public void testBug5() {
Parser parser = new Parser("return arg--2;");
- ReturnNode ret = parser.parse();
+ StopNode ret = parser.parse();
assertEquals("return (arg--2);", ret.print());
}
}