Skip to content

Commit

Permalink
fixed unit test failure.
Browse files Browse the repository at this point in the history
AppTest.java was removed in previous commits, however, the statement for the file remains in the unit test TraverserTest.java.
  • Loading branch information
tamada committed Aug 31, 2016
1 parent 7f683c7 commit 5625cae
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ public void testBasic(){
.map(path -> base.relativize(path))
.collect(Collectors.toList());

assertThat(list.size(), is(6));
assertThat(list.size(), is(5));
assertThat(list.get(0), is(Paths.get("main/java/sample/hello/GodObject.java")));
assertThat(list.get(1), is(Paths.get("main/java/sample/hello/HelloWorld.java")));
assertThat(list.get(2), is(Paths.get("main/java/sample/hello/Launcher.java")));
assertThat(list.get(3), is(Paths.get("main/webapp/WEB-INF/web.xml")));
assertThat(list.get(4), is(Paths.get("main/webapp/index.html")));
assertThat(list.get(5), is(Paths.get("test/java/sample/hello/AppTest.java")));
}

@Test
Expand All @@ -38,10 +37,9 @@ public void testFilter(){
.map(path -> base.relativize(path))
.collect(Collectors.toList());

assertThat(list.size(), is(4));
assertThat(list.size(), is(3));
assertThat(list.get(0), is(Paths.get("main/java/sample/hello/GodObject.java")));
assertThat(list.get(1), is(Paths.get("main/java/sample/hello/HelloWorld.java")));
assertThat(list.get(2), is(Paths.get("main/java/sample/hello/Launcher.java")));
assertThat(list.get(3), is(Paths.get("test/java/sample/hello/AppTest.java")));
}
}

0 comments on commit 5625cae

Please sign in to comment.