Repository: tinkerpop
Updated Branches:
refs/heads/master d06967bec -> 8340ca7c5
tweaked tests a bit. the Groovy one wasn't consistent (limit(1) still there)
and used non-sugar syntax. Also, both used values('name') instead of just name.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/6d340544
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/6d340544
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/6d340544
Branch: refs/heads/master
Commit: 6d340544be307d5e4627b320af6cc07bc8b3958d
Parents: bc588cd
Author: Marko A. Rodriguez <[email protected]>
Authored: Mon Aug 28 17:28:47 2017 -0600
Committer: Marko A. Rodriguez <[email protected]>
Committed: Mon Aug 28 17:28:58 2017 -0600
----------------------------------------------------------------------
.../gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy | 2 +-
.../gremlin/process/traversal/step/branch/RepeatTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/6d340544/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy
----------------------------------------------------------------------
diff --git
a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy
b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy
index 897d04c..ad73c33 100644
---
a/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy
+++
b/gremlin-groovy-test/src/main/groovy/org/apache/tinkerpop/gremlin/process/traversal/step/branch/GroovyRepeatTest.groovy
@@ -100,7 +100,7 @@ public abstract class GroovyRepeatTest {
@Override
public Traversal<Vertex, Path>
get_g_V_hasXname_markoX_repeatXoutE_inV_simplePathX_untilXhasXname_rippleXX_path_byXnameX_byXlabelX()
{
- new ScriptTraversal<>(g, "gremlin-groovy", "g.V().has('name',
'marko').repeat(outE().inV().simplePath()).until(has('name',
'ripple')).limit(1).path().by(values('name')).by(T.label)")
+ new ScriptTraversal<>(g, "gremlin-groovy", "g.V.has('name',
'marko').repeat(outE.inV.simplePath).until(has('name',
'ripple')).path.by('name').by(label)")
}
}
}
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/6d340544/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch/RepeatTest.java
----------------------------------------------------------------------
diff --git
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch/RepeatTest.java
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch/RepeatTest.java
index 4be3389..0315589 100644
---
a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch/RepeatTest.java
+++
b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/branch/RepeatTest.java
@@ -363,7 +363,7 @@ public abstract class RepeatTest extends
AbstractGremlinProcessTest {
@Override
public Traversal<Vertex, Path>
get_g_V_hasXname_markoX_repeatXoutE_inV_simplePathX_untilXhasXname_rippleXX_path_byXnameX_byXlabelX()
{
- return g.V().has("name",
"marko").repeat(outE().inV().simplePath()).until(has("name",
"ripple")).path().by(values("name")).by(T.label);
+ return g.V().has("name",
"marko").repeat(outE().inV().simplePath()).until(has("name",
"ripple")).path().by("name").by(T.label);
}
}
}