Skip to content

Commit 7a21f43

Browse files
committed
Added message
1 parent 9cd6225 commit 7a21f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/codehaus/plexus/archiver/zip/ArchiveFileComparator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static void assertEquals( org.apache.commons.compress.archivers.zip.ZipFi
125125
final String name2 = prefix == null ? name1 : (prefix + name1);
126126
ZipArchiveEntry ze1 = (ZipArchiveEntry) map1.get(name1);
127127
ZipArchiveEntry ze2 = (ZipArchiveEntry) map2.remove(name2);
128-
Assert.assertNotNull(ze2);
128+
Assert.assertNotNull("Missing " + name1 + "in file 2", ze2);
129129
assertEquals(file1, ze1, file2, ze2);
130130
}
131131
Assert.assertTrue( map2.isEmpty() );

0 commit comments

Comments
 (0)