tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject [tomcat] branch master updated: Make test platform independent
Date Fri, 03 May 2019 20:33:56 GMT
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 d127a09  Make test platform independent
d127a09 is described below

commit d127a094f7f724b1bb0b377c9110b210ebac947f
Author: Mark Thomas <markt@apache.org>
AuthorDate: Fri May 3 21:33:45 2019 +0100

    Make test platform independent
---
 test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java b/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java
index 5572df6..6da7b89 100644
--- a/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java
+++ b/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java
@@ -59,12 +59,12 @@ public class TestJspRuntimeLibrary extends TomcatBaseTest {
         assertEcho(result, "41-\u0000");
         assertEcho(result, "42-f");
         assertEcho(result, "43-b");
-        assertEcho(result, "44-\n");
+        assertEcho(result, "44-" + System.lineSeparator().charAt(0));
 
         assertEcho(result, "51-\u0000");
         assertEcho(result, "52-f");
         assertEcho(result, "53-b");
-        assertEcho(result, "54-\n");
+        assertEcho(result, "54-" + System.lineSeparator().charAt(0));
 
         assertEcho(result, "61-0.0");
         assertEcho(result, "62-42.0");


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


Mime
View raw message