[java-support] branch master updated: JSPT-90 fix build

Rod Widdowson rdw at steadingsoftware.com
Fri Jun 14 12:51:06 EDT 2019


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch master
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=eda141258fb9c1485a2f63224dfd6d448f1e206b

The following commit(s) were added to refs/heads/master by this push:
       new  eda1412   JSPT-90 fix build
eda1412 is described below

commit eda141258fb9c1485a2f63224dfd6d448f1e206b
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Jun 14 17:51:04 2019 +0100

    JSPT-90 fix build
---
 .../net/shibboleth/utilities/java/support/net/URLBuilderTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/net/shibboleth/utilities/java/support/net/URLBuilderTest.java b/src/test/java/net/shibboleth/utilities/java/support/net/URLBuilderTest.java
index c0233da..e3382f4 100644
--- a/src/test/java/net/shibboleth/utilities/java/support/net/URLBuilderTest.java
+++ b/src/test/java/net/shibboleth/utilities/java/support/net/URLBuilderTest.java
@@ -96,7 +96,7 @@ public class URLBuilderTest {
      */
     @Test
     public void testValues() throws MalformedURLException{
-        String url = "http://www.example.com:/index.html?=value1&attrib2=&attrib3=val3=val3b";
+        String url = "http://www.example.com/index.html?=value1&attrib2=&attrib3=val3=val3b";
         URLBuilder builder1 = new URLBuilder(url);
         Assert.assertEquals(builder1.getScheme(), "http");
         Assert.assertEquals(builder1.getUsername(), null);
@@ -110,7 +110,7 @@ public class URLBuilderTest {
         
         // NOTE that we drop the name-less value and properly encode the third value 
         
-        Assert.assertEquals(builder1.buildURL(), "http://www.example.com:/index.html?attrib2&attrib3=val3%3Dval3b");
+        Assert.assertEquals(builder1.buildURL(), "http://www.example.com/index.html?attrib2&attrib3=val3%3Dval3b");
     }
 
     

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list