You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/04/10 12:28:58 UTC

[tomcat] branch master updated: Fix failing test

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

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 03272c8  Fix failing test
03272c8 is described below

commit 03272c89802431625958df1c4674d11e1a4a3f65
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Apr 10 13:28:47 2019 +0100

    Fix failing test
---
 test/org/apache/catalina/servlets/TestCGIServletCmdLineArguments.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/servlets/TestCGIServletCmdLineArguments.java b/test/org/apache/catalina/servlets/TestCGIServletCmdLineArguments.java
index 16398c2..c2bbae3 100755
--- a/test/org/apache/catalina/servlets/TestCGIServletCmdLineArguments.java
+++ b/test/org/apache/catalina/servlets/TestCGIServletCmdLineArguments.java
@@ -53,7 +53,8 @@ public class TestCGIServletCmdLineArguments {
             } catch (IllegalAccessException | NoSuchFieldException | SecurityException e) {
             }
 
-            Assert.assertEquals(defaultDecodedPatternWindows, p);
+            Assert.assertNotNull(p);
+            Assert.assertEquals(defaultDecodedPatternWindows.toString(), p.toString());
         }
     }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org