You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/08/23 19:48:21 UTC
[commons-compress] 02/02: Better assert message
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit 6561aea9380f4f6ac31976af4b74c8ea23c80f84
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Aug 23 15:48:13 2023 -0400
Better assert message
---
.../org/apache/commons/compress/harmony/pack200/tests/ArchiveTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/compress/harmony/pack200/tests/ArchiveTest.java b/src/test/java/org/apache/commons/compress/harmony/pack200/tests/ArchiveTest.java
index 20fd4e89..c5e5d3f7 100755
--- a/src/test/java/org/apache/commons/compress/harmony/pack200/tests/ArchiveTest.java
+++ b/src/test/java/org/apache/commons/compress/harmony/pack200/tests/ArchiveTest.java
@@ -232,7 +232,7 @@ public class ArchiveTest {
String line2 = reader2.readLine();
int i = 1;
while (line1 != null || line2 != null) {
- assertEquals(line2, line1, "Unpacked class files differ");
+ assertEquals(line2, line1, "Unpacked class files differ, i = " + i);
line1 = reader1.readLine();
line2 = reader2.readLine();
i++;