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 a8719d7147717f62d11c73743a1d16fce2bc17b9
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Dec 8 12:58:43 2025 -0500

    Use JUnit 5 convention
---
 .../commons/compress/utils/SeekableInMemoryByteChannelTest.java     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java
 
b/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java
index d1f969438..3224160dd 100644
--- 
a/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java
+++ 
b/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java
@@ -338,7 +338,7 @@ void testTruncateToCurrentSizeDoesntChangeAnything() throws 
Exception {
      * <q>ClosedChannelException - If this channel is closed</q>
      */
     @Test
-    public void 
throwsClosedChannelExceptionWhenPositionIsReadOnClosedChannel() throws 
Exception {
+    void throwsClosedChannelExceptionWhenPositionIsReadOnClosedChannel() 
throws Exception {
         try (SeekableByteChannel c = new SeekableInMemoryByteChannel()) {
             c.close();
             assertThrows(ClosedChannelException.class, c::position);
@@ -349,7 +349,7 @@ public void 
throwsClosedChannelExceptionWhenPositionIsReadOnClosedChannel() thro
      * <q>ClosedChannelException - If this channel is closed</q>
      */
     @Test
-    public void throwsClosedChannelExceptionWhenSizeIsReadOnClosedChannel() 
throws Exception {
+    void throwsClosedChannelExceptionWhenSizeIsReadOnClosedChannel() throws 
Exception {
         try (SeekableByteChannel c = new SeekableInMemoryByteChannel()) {
             c.close();
             assertThrows(ClosedChannelException.class, c::size);
@@ -360,7 +360,7 @@ public void 
throwsClosedChannelExceptionWhenSizeIsReadOnClosedChannel() throws E
      * <q>ClosedChannelException - If this channel is closed</q>
      */
     @Test
-    public void 
throwsClosedChannelExceptionWhenTruncateIsCalledOnClosedChannel() throws 
Exception {
+    void throwsClosedChannelExceptionWhenTruncateIsCalledOnClosedChannel() 
throws Exception {
         try (SeekableByteChannel c = new SeekableInMemoryByteChannel()) {
             c.close();
             assertThrows(ClosedChannelException.class, () -> c.truncate(0));

Reply via email to