google / google/truth

Trigger diff-style output more aggressively

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

Description

Add an implementation of `StringSubject.isEqualTo(String expected)` which will do diffing in the error message if the strings are not equal.

https://truth.dev/api/1.0/com/google/common/truth/StringSubject.html

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.