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 089d64e89 Remove redundant JUnit argument
089d64e89 is described below
commit 089d64e897542b9b13e40593896194dcc6343116
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jan 1 10:40:51 2025 -0500
Remove redundant JUnit argument
---
src/test/java/org/apache/commons/compress/compressors/GZipTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/src/test/java/org/apache/commons/compress/compressors/GZipTest.java
b/src/test/java/org/apache/commons/compress/compressors/GZipTest.java
index c78d5a751..b2f0b66d8 100644
--- a/src/test/java/org/apache/commons/compress/compressors/GZipTest.java
+++ b/src/test/java/org/apache/commons/compress/compressors/GZipTest.java
@@ -251,7 +251,7 @@ public final class GZipTest extends AbstractTest {
public void testOverWrite() throws Exception {
final GzipCompressorOutputStream out = new
GzipCompressorOutputStream(new ByteArrayOutputStream());
out.close();
- assertThrows(IOException.class, () -> out.write(0), "IOException
expected");
+ assertThrows(IOException.class, () -> out.write(0));
}
@Test