Github user okram commented on a diff in the pull request:
https://github.com/apache/tinkerpop/pull/366#discussion_r73580040
--- Diff:
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/filter/TailTest.java
---
@@ -120,6 +123,19 @@ public void g_V_repeatXbothX_timesX3X_tailX7X() {
assertEquals(7, counter);
}
+ /** Scenario: Global scope, using repeat (excess BULK) */
+ @Test
+ @LoadGraphWith(MODERN)
+ public void g_V_repeatXin_outX_timesX3X_tailX7X_count() {
+ final Traversal<Vertex, Long> traversal =
get_g_V_repeatXin_outX_timesX3X_tailX7X_count();
+ printTraversalForm(traversal);
+ long count = 0L;
--- End diff --
This is as easy as:
```
checkResults(Collections.singleList(7L), traversal)
```
It will also verify `hasNext() == false` at the end.
---
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.
---