Skip to content

Commit

Permalink
Better message in assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Dec 5, 2022
1 parent c8dff1b commit 699eef5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ public void testGetIndexOfPath() throws Exception {

// Assert that location has not been seen before
assertThat("Location " + location +
" for path " + path.getPath() + " seen before," +
" for path " + path.getPath() + " already seen," +
" with useAuthorName: " + useAuthorName +
" and implementation " + gitImplementation +
" at sha1 " + ObjectId.toString(sha1),
", implementation " + gitImplementation +
" at sha1:" + ObjectId.toString(sha1),
foundLocations, not(hasItem(location)));
foundLocations.add(location);
}
Expand Down

0 comments on commit 699eef5

Please sign in to comment.