Skip to content

Commit 532fa98

Browse files
committed
Run spotless
1 parent e8be18d commit 532fa98

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/java/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public void testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires() throw
2525
snapshotNotAllowed();
2626
gitHub = getGitHubBuilder().withAuthorizationProvider(new RefreshingAuthorizationProvider())
2727
.withEndpoint(mockGitHub.apiServer().baseUrl())
28-
.withRateLimitHandler(RateLimitHandler.WAIT).build();
28+
.withRateLimitHandler(RateLimitHandler.WAIT)
29+
.build();
2930
final GHUser kohsuke = gitHub.getUser("kohsuke");
3031
assertThat("Usernames match", "kohsuke".equals(kohsuke.getLogin()));
3132
}
@@ -34,7 +35,8 @@ public void testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires() throw
3435
public void testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid() throws IOException {
3536
gitHub = getGitHubBuilder().withAuthorizationProvider(() -> "original token")
3637
.withEndpoint(mockGitHub.apiServer().baseUrl())
37-
.withRateLimitHandler(RateLimitHandler.WAIT).build();
38+
.withRateLimitHandler(RateLimitHandler.WAIT)
39+
.build();
3840
final GHUser kohsuke = gitHub.getUser("kohsuke");
3941
assertThat("Usernames match", "kohsuke".equals(kohsuke.getLogin()));
4042
}

0 commit comments

Comments
 (0)