Upgrade to Truth 1.0 (#281)

* Upgrade to Truth 1.0

Refactored fail(...) to assertWithMessage().fail().

Upgraded com.google.monitoring-client family of dependencies to 1.0.6

Also fixed bad use of io.StringIO (on binary buffer) recently introduced to
google-java-format-diff.py.
This commit is contained in:
Weimin Yu 2019-09-24 10:23:58 -04:00 committed by GitHub
parent 3009f754fa
commit b0c13042a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
89 changed files with 235 additions and 240 deletions

View file

@ -58,7 +58,6 @@ import java.util.stream.Collectors;
*/
// TODO(weiminyu): move this class and test to a standalone 'testing' project. Note that the util
// project is not good since it depends back to core.
@SuppressWarnings("unchecked") // On behalf of Raw type Subject; remove after Truth 1.0 upgrade.
public class TextDiffSubject extends Subject {
private final ImmutableList<String> actual;