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

kenhuuu pushed a commit to branch master-http
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit fb10d57c360a2837575cfd8ef5f87e7cbab7f95b
Author: Ken Hu <[email protected]>
AuthorDate: Wed Jun 12 12:17:21 2024 -0700

    Update console test to use line separator CTR
---
 .../org/apache/tinkerpop/gremlin/console/GremlinGroovyshTest.groovy   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/gremlin-console/src/test/groovy/org/apache/tinkerpop/gremlin/console/GremlinGroovyshTest.groovy
 
b/gremlin-console/src/test/groovy/org/apache/tinkerpop/gremlin/console/GremlinGroovyshTest.groovy
index dd4aed29e7..843abaf84b 100644
--- 
a/gremlin-console/src/test/groovy/org/apache/tinkerpop/gremlin/console/GremlinGroovyshTest.groovy
+++ 
b/gremlin-console/src/test/groovy/org/apache/tinkerpop/gremlin/console/GremlinGroovyshTest.groovy
@@ -56,7 +56,7 @@ class GremlinGroovyshTest extends 
AbstractGremlinServerIntegrationTest {
         shell.execute("g.V().count().next()")
 
         // 6 vertices in modern graph
-        assertTrue(out.toString().endsWith("6\r\n"))
+        assertTrue(out.toString().endsWith("6" + System.lineSeparator()))
     }
 
     @Test
@@ -70,7 +70,7 @@ class GremlinGroovyshTest extends 
AbstractGremlinServerIntegrationTest {
         shell.execute("g.V().count().next()")
 
         // 6 vertices in modern graph
-        assertTrue(out.toString().endsWith("6\r\n"))
+        assertTrue(out.toString().endsWith("6" + System.lineSeparator()))
     }
 
     @Override

Reply via email to