mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 16:37:13 +02:00
Fix call to @CheckReturnValue method in tests that wasn't checking
The exception being thrown during the build is described here: http://errorprone.info/bugpattern/CheckReturnValue. Since this is just in a test class, the most expedient thing to do is ignore the error. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135492692
This commit is contained in:
parent
503a10bbf8
commit
49fd75300e
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ public class RdeImportUtilsTest extends ShardableTestCase {
|
||||||
|
|
||||||
/** Verifies that no errors are thrown when a valid escrow file is validated */
|
/** Verifies that no errors are thrown when a valid escrow file is validated */
|
||||||
@Test
|
@Test
|
||||||
|
@SuppressWarnings("CheckReturnValue")
|
||||||
public void testValidateEscrowFile_valid() throws Exception {
|
public void testValidateEscrowFile_valid() throws Exception {
|
||||||
xmlInput = DEPOSIT_XML.openBufferedStream();
|
xmlInput = DEPOSIT_XML.openBufferedStream();
|
||||||
when(gcsUtils.openInputStream(any(GcsFilename.class))).thenReturn(xmlInput);
|
when(gcsUtils.openInputStream(any(GcsFilename.class))).thenReturn(xmlInput);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue