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-net.git

commit 77e474b382e2ade0f8b5cf889f0e603f00840aa0
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Jul 20 13:38:29 2024 -0400

    inline
---
 src/test/java/org/apache/commons/net/imap/IMAPReplyTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/net/imap/IMAPReplyTest.java 
b/src/test/java/org/apache/commons/net/imap/IMAPReplyTest.java
index 888710a3..561ee925 100644
--- a/src/test/java/org/apache/commons/net/imap/IMAPReplyTest.java
+++ b/src/test/java/org/apache/commons/net/imap/IMAPReplyTest.java
@@ -99,8 +99,7 @@ public class IMAPReplyTest {
 
     @Test
     public void testGetReplyCodeOkLine() throws IOException {
-        final String okLine = "A001 OK LOGIN completed";
-        assertEquals(IMAPReply.OK, IMAPReply.getReplyCode(okLine));
+        assertEquals(IMAPReply.OK, IMAPReply.getReplyCode("A001 OK LOGIN 
completed"));
     }
 
     @Test

Reply via email to