You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2020/06/23 16:05:28 UTC

[commons-net] branch master updated: Test should have assertion

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

sebb 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 7388ca5  Test should have assertion
7388ca5 is described below

commit 7388ca54118d8f0be32291922f073de292416b94
Author: Sebb <se...@apache.org>
AuthorDate: Tue Jun 23 17:05:19 2020 +0100

    Test should have assertion
---
 src/test/java/org/apache/commons/net/SubnetUtilsTest.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/net/SubnetUtilsTest.java b/src/test/java/org/apache/commons/net/SubnetUtilsTest.java
index 29c849b..ea47ed5 100644
--- a/src/test/java/org/apache/commons/net/SubnetUtilsTest.java
+++ b/src/test/java/org/apache/commons/net/SubnetUtilsTest.java
@@ -317,7 +317,8 @@ public class SubnetUtilsTest extends TestCase {
     }
 
     public void testZeroAddressAndCidr() {
-        new SubnetUtils("0.0.0.0/0");
+        SubnetUtils snu = new SubnetUtils("0.0.0.0/0");
+        assertNotNull(snu);
     }
 
     public void testNET521() {