This is an automated email from the ASF dual-hosted git repository.

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-net.git


The following commit(s) were added to refs/heads/master by this push:
     new 0935cb54 Better use of JUnit API (comment).
0935cb54 is described below

commit 0935cb540787407ce4ea9c768bfa36e8f1470f8f
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jul 27 15:17:59 2026 +0000

    Better use of JUnit API (comment).
---
 src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java 
b/src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java
index d27ecba4..c57d501d 100644
--- a/src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java
+++ b/src/test/java/org/apache/commons/net/ntp/TestTimeInfo.java
@@ -87,7 +87,7 @@ class TestTimeInfo {
         assertEquals(info, other); // fails
         assertEquals(info.hashCode(), other.hashCode());
         other.addComment("another comment");
-        // assertFalse(info.equals(other)); // comments not used for equality
+        // assertNotEquals(info, other); // comments not used for equality
 
         final TimeInfo another = new TimeInfo(packet, returnTime, new 
ArrayList<>());
         assertEquals(info, another);

Reply via email to