removed superfluous throws in tests

This commit is contained in:
Stefan Spieker committed 2021-05-02 00:16:50 +02:00
1 parent 53823453a2
commit afd748142e
23 files changed
+54 -54

No files matched your search

+2 -2
View File
@@ -102,7 +102,7 @@ public class LauncherTest {
}
@Issue("JENKINS-18368")
@Test public void decoratedByEnvMaintainsIsUnix() throws Exception {
@Test public void decoratedByEnvMaintainsIsUnix() {
ByteArrayOutputStream output = new ByteArrayOutputStream();
TaskListener listener = new StreamBuildListener(output);
Launcher remoteLauncher = new Launcher.RemoteLauncher(listener, FilePath.localChannel, false);
@@ -114,7 +114,7 @@ public class LauncherTest {
}
@Issue("JENKINS-18368")
@Test public void decoratedByPrefixMaintainsIsUnix() throws Exception {
@Test public void decoratedByPrefixMaintainsIsUnix() {
ByteArrayOutputStream output = new ByteArrayOutputStream();
TaskListener listener = new StreamBuildListener(output);
Launcher remoteLauncher = new Launcher.RemoteLauncher(listener, FilePath.localChannel, false);