Skip to content

Commit

Permalink
Fixed sonarcloud issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TwoOfTwelve committed Jan 15, 2025
1 parent 3263a51 commit f3662d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/src/test/java/de/jplag/cli/ModeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import de.jplag.cli.test.CliTest;
import de.jplag.exceptions.ExitException;

public class ModeTest extends CliTest {
class ModeTest extends CliTest {
@Test
void testViewWithPositionalFile() throws IOException, ExitException {
CliInputHandler inputHandler = this
Expand Down Expand Up @@ -46,7 +46,7 @@ void testViewWithResultFile() throws IOException, ExitException {
}

@Test
void testViewWithMultipleFiles() throws IOException, ExitException {
void testViewWithMultipleFiles() {
assertThrowsExactly(CliException.class, () -> {
this.runCli(args -> args.with(CliArgument.MODE, "view").with(CliArgument.RESULT_FILE, "result.zip")
.with(CliArgument.NEW_SUBMISSION_DIRECTORIES, new String[] {"test.zip"})).inputHandler();
Expand All @@ -55,5 +55,6 @@ void testViewWithMultipleFiles() throws IOException, ExitException {

@Override
public void addDefaultParameters() {
// prevents the submission directory from being added to the parameters automatically
}
}

0 comments on commit f3662d9

Please sign in to comment.