Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Feb 21, 2020
1 parent 2086ed1 commit c0c0971
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -46,7 +46,6 @@
import org.apache.maven.shared.invoker.InvocationRequest;
import org.apache.maven.shared.invoker.InvocationResult;
import org.apache.maven.shared.invoker.Invoker;
import org.apache.maven.shared.invoker.InvokerLogger;
import org.apache.maven.shared.invoker.MavenInvocationException;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down Expand Up @@ -185,7 +184,6 @@ public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IO
buildLog.flush();
});
try {
invoker.getLogger().setThreshold(InvokerLogger.DEBUG);
InvocationResult result = invoker.execute(request);
assertThat(result.getExitCode()).as(contentOf(buildLogFile)).isEqualTo(expectedExitCode);
}
Expand Down

0 comments on commit c0c0971

Please sign in to comment.