diff --git a/src/test/java/hudson/plugins/git/browser/GitRepositoryBrowserTest.java b/src/test/java/hudson/plugins/git/browser/GitRepositoryBrowserTest.java index ca1ff33fea..e22bd3383f 100644 --- a/src/test/java/hudson/plugins/git/browser/GitRepositoryBrowserTest.java +++ b/src/test/java/hudson/plugins/git/browser/GitRepositoryBrowserTest.java @@ -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); }