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


The following commit(s) were added to refs/heads/master by this push:
     new 484ae769 Better JUnit API usage
484ae769 is described below

commit 484ae769388dd1652a2b65f875b4e567123bc32c
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Aug 5 15:45:17 2023 -0400

    Better JUnit API usage
---
 .../apache/commons/compress/harmony/unpack200/tests/ArchiveTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/compress/harmony/unpack200/tests/ArchiveTest.java
 
b/src/test/java/org/apache/commons/compress/harmony/unpack200/tests/ArchiveTest.java
index ad54b752..8f1013bf 100644
--- 
a/src/test/java/org/apache/commons/compress/harmony/unpack200/tests/ArchiveTest.java
+++ 
b/src/test/java/org/apache/commons/compress/harmony/unpack200/tests/ArchiveTest.java
@@ -176,7 +176,7 @@ public class ArchiveTest {
         archive.setLogFile(logFile.getPath(), false);
         archive.setVerbose(true);
         archive.unpack();
-        assertTrue(logFile.length() == length);
+        assertEquals(logFile.length(), length);
 
         // test setting quiet explicitly
         in = Archive.class

Reply via email to