Bazel: Fix CheckReturnValue error detected by ErrorProne

Building Gerrit code with Bazel revealed CheckReturnValue error detected
by ErrorProne: [1].

[1] http://errorprone.info/bugpattern/CheckReturnValue
Change-Id: I00dc1e3dfa7f135890d0e5f862c7498fda11ed1c
This commit is contained in:
David Ostrovsky 2016-05-31 23:39:54 +02:00 committed by David Ostrovsky
parent f0b5de52f7
commit b5989ec838
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public class SafeHtmlBuilderTest {
final SafeHtmlBuilder b = new SafeHtmlBuilder();
assertThat(b).isSameAs(b.append('a'));
assertThat(b).isSameAs(b.append('b'));
assertThat("ab");
assertThat(b.asString()).isEqualTo("ab");
}
@Test