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 2017/02/04 14:49:45 UTC

svn commit: r1781677 - /commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java

Author: sebb
Date: Sat Feb  4 14:49:45 2017
New Revision: 1781677

URL: http://svn.apache.org/viewvc?rev=1781677&view=rev
Log:
Also test max+1

Modified:
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java

Modified: commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java?rev=1781677&r1=1781676&r2=1781677&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java (original)
+++ commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java Sat Feb  4 14:49:45 2017
@@ -543,6 +543,7 @@ protected void setUp() {
    };
    ResultPair[] testUrlPort = {new ResultPair(":80", true),
                              new ResultPair(":65535", true), // max possible
+                             new ResultPair(":65536", false), // max possible +1
                              new ResultPair(":0", true),
                              new ResultPair("", true),
                              new ResultPair(":-1", false),