Skip to content

Commit 8afefee

Browse files
committed
formatting fixed #2973
1 parent 26cb1b2 commit 8afefee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rate-limiting-pattern/src/test/java/com/iluwatar/rate/limiting/pattern/FixedWindowRateLimiterTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ protected RateLimiter createRateLimiter(int limit, long windowMillis) {
1313

1414
@Test
1515
void shouldResetCounterAfterWindow() throws Exception {
16-
FixedWindowRateLimiter limiter = new FixedWindowRateLimiter(1, 1); // 1 request per 1 second window
16+
FixedWindowRateLimiter limiter =
17+
new FixedWindowRateLimiter(1, 1); // 1 request per 1 second window
1718

1819
// First request should pass
1920
limiter.check("test", "op");

0 commit comments

Comments
 (0)