Kenji HIKICHI
Committed by Gerrit Code Review

Compare logDir by using File object to avoid test failure on Windows which uses …

…'\' as file separator.

Change-Id: Icef450df62467a9d43149d73833dc1fd3c75fb45
...@@ -72,7 +72,7 @@ public class CompilerTest { ...@@ -72,7 +72,7 @@ public class CompilerTest {
72 assertEquals("incorrect step count", 24, flow.getVertexes().size()); 72 assertEquals("incorrect step count", 24, flow.getVertexes().size());
73 assertEquals("incorrect dependency count", 17, flow.getEdges().size()); 73 assertEquals("incorrect dependency count", 17, flow.getEdges().size());
74 assertEquals("incorrect logDir", 74 assertEquals("incorrect logDir",
75 - TEST_DIR.getAbsolutePath() + "/foo", compiler.logDir().getPath()); 75 + new File(TEST_DIR.getAbsolutePath(), "foo"), compiler.logDir());
76 76
77 Step step = compiler.getStep("there"); 77 Step step = compiler.getStep("there");
78 assertEquals("incorrect edge count", 2, flow.getEdgesFrom(step).size()); 78 assertEquals("incorrect edge count", 2, flow.getEdgesFrom(step).size());
......