Github user twilmes commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/572#discussion_r106646840
  
    --- Diff: 
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/PathRetractionStrategyTest.java
 ---
    @@ -191,6 +206,9 @@ public void doTest() {
                     {__.V().as("a").optional(bothE().dedup().as("b")).
                             choose(select("b"), select("a","b"), 
project("a").by(select("a"))),
                             "[[[a, b]], [[a, b]], [[a, b]], [[[a, b]]], [[a, 
b]]]", null},
    +                
{__.V().as("a").out().program(labeledPathVertexProgram).select("a"), "[]", 
null},
    +                
{__.V().as("a").out().program(pathVertexProgram).select("a"), "[]", null},
    +                
{__.V().as("a").out().program(emptyRequirementsVertexProgram).select("a"), 
"[[]]", null}
    --- End diff --
    
    Yeah, that is confusing.  It is correctly asserting with that `[]` but it 
is non-obvious. I replaced those with a constant and then reworked the 
traversals.  


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to