Skip to content

Commit

Permalink
Call prune() instead of prune(true) at least once
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Jan 21, 2023
1 parent de62a43 commit 75cd053
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ private String checkoutRandomBranch() throws GitException, InterruptedException
public void test_fetch_default_timeout_logging() throws Exception {
testGitClient.clone_().url(workspace.localMirror()).repositoryName("origin").execute();
String randomBranchName = checkoutRandomBranch();
testGitClient.fetch_().from(new URIish("origin"), null).prune(true).execute();
testGitClient.fetch_().from(new URIish("origin"), null).prune().execute();
assertTimeout(testGitClient, "fetch", CliGitAPIImpl.TIMEOUT);
assertRevParseNotCalled(testGitClient, randomBranchName);
}
Expand Down

0 comments on commit 75cd053

Please sign in to comment.