summaryrefslogtreecommitdiff
path: root/src/test/java/com/seaofnodes/simple/Chapter01Test.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/seaofnodes/simple/Chapter01Test.java')
-rw-r--r--src/test/java/com/seaofnodes/simple/Chapter01Test.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/seaofnodes/simple/Chapter01Test.java b/src/test/java/com/seaofnodes/simple/Chapter01Test.java
index c10dc510..f7524c17 100644
--- a/src/test/java/com/seaofnodes/simple/Chapter01Test.java
+++ b/src/test/java/com/seaofnodes/simple/Chapter01Test.java
@@ -58,7 +58,7 @@ public class Chapter01Test {
@Test
public void testNotBad3() {
// this test used to fail in chapter 1
- assertEquals("return 12;", new Parser("return --12;").parse().print());
+ assertEquals("return 12;", new Parser("return - -12;").parse().print());
}
@Test