Skip to content

Commit

Permalink
fixed failed test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmart075 committed Dec 6, 2021
1 parent 818f71c commit a77ba2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/java/edu/odu/cs/cs350/IntergrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ public void testSectionOneFunctionality() throws Exception {
" /home/runner/work/DupDetector/DupDetector/src/test/data/Point.h, 200\n" +
" /home/runner/work/DupDetector/DupDetector/src/test/data/test.cpp, 24\n" +
" /home/runner/work/DupDetector/DupDetector/src/test/data/readingList.h, 194\n";

out1.setFiles(search.searchDirectory(directory));
assertTrue(out1.getFiles().containsAll(expectedFiles));
assertThat(out1.getFiles().size(), is(5));
assertThat(out1.getSectionOne(), equalTo(expected));

out2.setFiles(search.searchWithProperties(directory, properties));
assertTrue(out2.getFiles().containsAll(expectedFiles));
assertThat(out2.getFiles().size(), is(5));
assertThat(out2.getSectionOne(), equalTo(expected));
}

Expand Down

0 comments on commit a77ba2c

Please sign in to comment.