summaryrefslogtreecommitdiff
path: root/chapter05/src
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/src')
-rw-r--r--chapter05/src/main/java/com/seaofnodes/simple/GraphVisualizer.java2
-rw-r--r--chapter05/src/test/java/com/seaofnodes/simple/Chapter05Test.java (renamed from chapter05/src/test/java/com/seaofnodes/simple/Chapter04Test.java)2
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter05/src/main/java/com/seaofnodes/simple/GraphVisualizer.java b/chapter05/src/main/java/com/seaofnodes/simple/GraphVisualizer.java
index f73bfd3c..eaeb8095 100644
--- a/chapter05/src/main/java/com/seaofnodes/simple/GraphVisualizer.java
+++ b/chapter05/src/main/java/com/seaofnodes/simple/GraphVisualizer.java
@@ -18,7 +18,7 @@ public class GraphVisualizer {
// nodes in the graph.
Collection<Node> all = findAll(parser);
StringBuilder sb = new StringBuilder();
- sb.append("digraph chapter04 {\n");
+ sb.append("digraph chapter05 {\n");
sb.append("/*\n");
sb.append(parser.src());
sb.append("\n*/\n");
diff --git a/chapter05/src/test/java/com/seaofnodes/simple/Chapter04Test.java b/chapter05/src/test/java/com/seaofnodes/simple/Chapter05Test.java
index 8cc78af0..4106ef3b 100644
--- a/chapter05/src/test/java/com/seaofnodes/simple/Chapter04Test.java
+++ b/chapter05/src/test/java/com/seaofnodes/simple/Chapter05Test.java
@@ -8,7 +8,7 @@ import org.junit.rules.ExpectedException;
import static org.junit.Assert.*;
-public class Chapter04Test {
+public class Chapter05Test {
@Rule
public ExpectedException exceptionRule = ExpectedException.none();