mirror of
https://github.com/google/nomulus
synced 2026-09-05 07:37:09 +00:00
Remove unnecessary "throws" declarations
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201058582
This commit is contained in:
@@ -36,7 +36,7 @@ public class XmlTestUtilsTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInequality() throws Exception {
|
||||
public void testInequality() {
|
||||
assertThrows(
|
||||
AssertionError.class, () -> runTest("simple.xml", "twoextensions_feeThenLaunch.xml"));
|
||||
}
|
||||
@@ -47,7 +47,7 @@ public class XmlTestUtilsTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testMultipleElementsInDifferentNamespaces_differentValues() throws Exception {
|
||||
public void testMultipleElementsInDifferentNamespaces_differentValues() {
|
||||
assertThrows(
|
||||
AssertionError.class,
|
||||
() -> runTest("twoextensions_feeThenLaunch.xml", "twoextensions_feeThenLaunch2.xml"));
|
||||
|
||||
Reference in New Issue
Block a user