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 1fb9ef9e Fix broken tests.
1fb9ef9e is described below

commit 1fb9ef9e5bbd5b7688133628c6ebfa567b31cd7c
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu May 5 15:37:23 2022 -0400

    Fix broken tests.
---
 .../compressors/lz77support/AbstractLZ77CompressorInputStreamTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/compress/compressors/lz77support/AbstractLZ77CompressorInputStreamTest.java
 
b/src/test/java/org/apache/commons/compress/compressors/lz77support/AbstractLZ77CompressorInputStreamTest.java
index b5c4a9e6..84e36639 100644
--- 
a/src/test/java/org/apache/commons/compress/compressors/lz77support/AbstractLZ77CompressorInputStreamTest.java
+++ 
b/src/test/java/org/apache/commons/compress/compressors/lz77support/AbstractLZ77CompressorInputStreamTest.java
@@ -58,7 +58,7 @@ public class AbstractLZ77CompressorInputStreamTest {
         try (TestStream s = new TestStream(new ByteArrayInputStream(data))) {
             s.literal(3);
             assertEquals(1, s.read());
-            assertThrows(IllegalArgumentException.class, () -> s.prefill(new 
byte[] {1, 2, 3}));
+            assertThrows(IllegalStateException.class, () -> s.prefill(new 
byte[] {1, 2, 3}));
         }
     }
 

Reply via email to