Github user robertdale commented on the issue:

    https://github.com/apache/tinkerpop/pull/621
  
    This test has two `prettyPrint()` assertions.
    
    The first does `prettyPrint()` no args.  It passes. However, it's strange 
in that two of the `found`s catch the same line:
    ```
    IncidentToAdjacentStrategy      [O]   [VertexStep(OUT,vertex), 
GroupStep([VertexStep(IN,vertex), GroupCountStep([VertexStep(BOTH,vertex), 
CountGlobalStep, IsStep(gt(2))])],[FoldStep])
    FOUND
    FOUND
    ```
    
    The second one does `prettyPrint(160)`. It has the same duplicate 
strangeness as the first. It is also the one that consistently fails for me. 
The reason being is that the `CountStrategy` line is short a character thus 
doesn't match.
    **Test:**
    ```
    if (line.contains("CountStrategy") && line.contains("RangeGlobalStep(0,3)"))
    ```
    **Input:**
    ```
    CountStrategy                   [O]   [VertexStep(OUT,vertex), 
GroupStep([VertexStep(IN,vertex), GroupCountStep([VertexStep(BOTH,vertex), 
RangeGlobalStep(0,3
    ```
    
    I don't know why your `160` chars is different than my `160` chars. But why 
is this being tested anyway?



---

Reply via email to