google / google/truth

StringSubject.isNullOrEmpty

Open
#195 8 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

I just migrated our tests from fest-assert to Truth. It was almost drop-in replacement, or I just had to do mass replacement of `containsOnly` to `containsExactly`, etc. , but I didn't find the replacement for `assertThat("string").isNullOrEmpty` and `assertThat("String").isEqualToIgnoringCase("string")`.

Would you accept PR with these two methods added to StringSubject?

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.