Fix ThrowsUncheckedException Error Prone violations in tests (#5952)

This commit is contained in:
Basil Crow authored and GitHub committed 2021-12-05 13:11:54 -08:00
1 parent e4d74d3691
commit 80c66902ef
9 files changed
+16 -17

No files matched your search

@@ -114,7 +114,7 @@ public class PluginManagerTest {
equalTo(jar.lastModified()));
}
private static void assertAttribute(Manifest manifest, String attributeName, String value) throws AssertionError {
private static void assertAttribute(Manifest manifest, String attributeName, String value) {
Attributes attributes = manifest.getMainAttributes();
assertThat("Main attributes must not be empty", attributes, notNullValue());
assertThat("Attribute '" + attributeName + "' does not match the sample",