summaryrefslogtreecommitdiff
path: root/chapter06/src/test/java/com
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/src/test/java/com')
-rw-r--r--chapter06/src/test/java/com/seaofnodes/simple/Chapter05Test.java2
-rw-r--r--chapter06/src/test/java/com/seaofnodes/simple/Chapter06Test.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/src/test/java/com/seaofnodes/simple/Chapter05Test.java b/chapter06/src/test/java/com/seaofnodes/simple/Chapter05Test.java
index 674e2ba9..d6c91a4a 100644
--- a/chapter06/src/test/java/com/seaofnodes/simple/Chapter05Test.java
+++ b/chapter06/src/test/java/com/seaofnodes/simple/Chapter05Test.java
@@ -78,7 +78,7 @@ else
a=b+1;
return a+b;""");
StopNode ret = parser.parse();
- assertEquals("return ((Phi(Region31,(arg*2),arg)+arg)+Phi(Region31,4,5));", ret.toString());
+ assertEquals("return ((Phi(Region31,(arg*2),arg)+arg)+Phi(Region,4,5));", ret.toString());
}
@Test
diff --git a/chapter06/src/test/java/com/seaofnodes/simple/Chapter06Test.java b/chapter06/src/test/java/com/seaofnodes/simple/Chapter06Test.java
index cb58f2bb..00d725bc 100644
--- a/chapter06/src/test/java/com/seaofnodes/simple/Chapter06Test.java
+++ b/chapter06/src/test/java/com/seaofnodes/simple/Chapter06Test.java
@@ -251,7 +251,7 @@ if( arg ) {
return a+b+c;
""");
StopNode ret = parser.parse();
- assertEquals("return (Phi(Region33,Phi(Region22,2,3),0)+Phi(Region33,3,1));", ret.toString());
+ assertEquals("return (Phi(Region33,Phi(Region22,2,3),0)+Phi(Region,3,1));", ret.toString());
}