You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ly...@apache.org on 2022/05/20 20:44:21 UTC

[tinkerpop] branch 3.6-dev updated: Fixing golangtranslatortest

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

lyndonb pushed a commit to branch 3.6-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/3.6-dev by this push:
     new 4dbd45ca99 Fixing golangtranslatortest
4dbd45ca99 is described below

commit 4dbd45ca990341a759ee879b4e87a3f7bad8851d
Author: Lyndon Bauto <ly...@bitquilltech.com>
AuthorDate: Fri May 20 13:44:00 2022 -0700

    Fixing golangtranslatortest
---
 .../gremlin/process/traversal/translator/GolangTranslatorTest.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GolangTranslatorTest.java b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GolangTranslatorTest.java
index b3af5c84b5..fca3baba16 100644
--- a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GolangTranslatorTest.java
+++ b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/translator/GolangTranslatorTest.java
@@ -90,7 +90,7 @@ public class GolangTranslatorTest {
 
     @Test
     public void shouldTranslateStrategies() {
-        assertEquals("g.WithStrategies(gremlingo.ReadOnlyStrategy(), gremlingo.SubgraphStrategy(gremlingo.SubgraphStrategyConfig{CheckAdjacentVertices: false, Vertices: gremlingo.T__.HasLabel(\"person\"), }), gremlingo.SeedStrategy(gremlingo.SeedStrategyConfig{Seed: 999999, })).V().Has(\"name\")",
+        assertEquals("g.WithStrategies(gremlingo.ReadOnlyStrategy(), gremlingo.SubgraphStrategy(gremlingo.SubgraphStrategyConfig{CheckAdjacentVertices: false, Vertices: gremlingo.T__.HasLabel(\"person\"), }), gremlingo.SeedStrategy(gremlingo.SeedStrategyConfig{Seed: 999999})).V().Has(\"name\")",
                 translator.translate(g.withStrategies(ReadOnlyStrategy.instance(),
                                 SubgraphStrategy.build().checkAdjacentVertices(false).vertices(hasLabel("person")).create(),
                                 new SeedStrategy(999999)).