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 2021/10/11 16:01:27 UTC

[tomcat] branch main updated: Better debug logging

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 96533b8  Better debug logging
96533b8 is described below

commit 96533b8b8efae2c13b020c7d5b31cb2d606df10c
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Oct 11 17:01:20 2021 +0100

    Better debug logging
---
 test/jakarta/servlet/http/TestHttpServletDoHead.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/jakarta/servlet/http/TestHttpServletDoHead.java b/test/jakarta/servlet/http/TestHttpServletDoHead.java
index e7a5426..400e791 100644
--- a/test/jakarta/servlet/http/TestHttpServletDoHead.java
+++ b/test/jakarta/servlet/http/TestHttpServletDoHead.java
@@ -167,8 +167,8 @@ public class TestHttpServletDoHead extends Http2TestBase {
         int i = 0;
         for (; i < getHeaders.length; i++) {
             // Headers should be the same, ignoring the first character which is the steam ID
-            Assert.assertEquals(getHeaders[i].charAt(0), '3');
-            Assert.assertEquals(headHeaders[i].charAt(0), '5');
+            Assert.assertEquals(getHeaders[i], '3', getHeaders[i].charAt(0));
+            Assert.assertEquals(headHeaders[i], '5', headHeaders[i].charAt(0));
             Assert.assertEquals(getHeaders[i].substring(1), headHeaders[i].substring(1));
         }
 

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