File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments