google / google/truth

Truncate prefix and suffix on longer arrrays

Open
#288 2 comments 0 reactions 0 assignees View on GitHub
P3 type=enhancement
Dominant language
Java
Stars
2.8k
Forks
275
Avg merge
7m
Merged PRs (30d)
4

Description

As shown in https://github.com/google/truth/issues/239, current diff shows all elements of the array. Rather showing the whole list of elements, it would be cleaner to show
- which elements (index) were not matching and value different
- **OR** just show the 1st failure (+index), and few elements before the 1st failure

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.