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 2024/02/02 01:37:11 UTC

(commons-compress) 02/02: Test Lister with non-corrupt dump files

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 9329d074473dde90935b35f22046877743f1b91a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Feb 1 20:36:46 2024 -0500

    Test Lister with non-corrupt dump files
---
 .../commons/compress/archivers/dump/DumpArchiveInputStreamTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStreamTest.java
index 151f3b68e..a57909441 100644
--- a/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStreamTest.java
+++ b/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStreamTest.java
@@ -51,7 +51,7 @@ public class DumpArchiveInputStreamTest extends AbstractTest {
 
     @Test
     public void testDirectoryNullBytes() throws Exception {
-        try (InputStream is = newInputStream("org/apache/commons/compress/dump/-fail.dump");
+        try (InputStream is = newInputStream("org/apache/commons/compress/dump/directory_null_bytes-fail.dump");
              DumpArchiveInputStream archive = new DumpArchiveInputStream(is)) {
             assertThrows(InvalidFormatException.class, archive::getNextEntry);
         }