Skip to content

Commit

Permalink
Declare test to throw multiple exception types
Browse files Browse the repository at this point in the history
Common practice that any exception thrown in the test will fail the
tes
  • Loading branch information
MarkEWaite committed Oct 1, 2024
1 parent 21c4d5c commit c2d8335
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ private static void assertCount(
}

@Test
public void testRegistryCredentials() throws IOException {
public void testRegistryCredentials() throws Exception {

final CredentialsStore store = CredentialsProvider.lookupStores(jenkins.getInstance())
.iterator()
Expand Down

0 comments on commit c2d8335

Please sign in to comment.