google / google/truth

inOrder not fully documented

Open
#594 2 comments 0 reactions 1 assignee Claimed by @cpovirk View on GitHub
P3 type=documentation
Dominant language
Java
Stars
2.8k
Forks
275
Avg merge
7m
Merged PRs (30d)
4

Description

https://truth.dev/api/0.46/com/google/common/truth/Ordered.html

This does not indicate whether intervening elements are or are not allowed. E.g. does

assertThat(list).containsAllElementsIn("a", "b", "c").inOrder();

pass or fail if list in fact contains:

"a", "z", "b", "c"

The API docs should be explicit on this point.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.