mirror of
https://github.com/google/nomulus
synced 2026-09-01 05:37:08 +00:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
@@ -203,12 +203,12 @@ public class GenerateDnsReportCommandTest extends CommandTestCase<GenerateDnsRep
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFailure_tldDoesNotExist() throws Exception {
|
||||
public void testFailure_tldDoesNotExist() {
|
||||
assertThrows(IllegalArgumentException.class, () -> runCommand("--tld=foobar"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFailure_missingTldParameter() throws Exception {
|
||||
public void testFailure_missingTldParameter() {
|
||||
assertThrows(ParameterException.class, () -> runCommand(""));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user