bodewig commented on a change in pull request #158:
URL: https://github.com/apache/ant/pull/158#discussion_r716031134



##########
File path: src/tests/junit/org/apache/tools/ant/util/DeweyDecimalTest.java
##########
@@ -107,10 +107,10 @@ public void isGreaterThanOrEqual() {
     @Test
     public void equals() {
          DeweyDecimal dd = new DeweyDecimal("1.2.3");
-         assertFalse(dd.equals("other"));
-         assertFalse(dd.equals(null));
-         assertTrue(dd.equals(new DeweyDecimal("1.2.3")));
-         assertTrue(dd.equals(new DeweyDecimal("1.2.3.0")));
+        assertNotEquals("other", dd);
+        assertNotEquals(null, dd);

Review comment:
       assertNotNull?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to