mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 12:32:15 +00:00
Fix ThrowsUncheckedException Error Prone violations in tests (#5952)
This commit is contained in:
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",
|
||||
|
||||
Reference in new issue
Block a user