Skip to content
This repository was archived by the owner on May 26, 2021. It is now read-only.

Commit 34686bb

Browse files
committed
Fixed throttle test.
1 parent f9d01cf commit 34686bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/github/underscore/FunctionsTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void throttle() {
120120
final Integer[] counter = new Integer[] {0};
121121
Supplier<Void> incr = new Supplier<Void>() { public Void get() {
122122
counter[0]++; return null; } };
123-
final Supplier<Void> throttleIncr = U.throttle(incr, 40);
123+
final Supplier<Void> throttleIncr = U.throttle(incr, 50);
124124
throttleIncr.get();
125125
throttleIncr.get();
126126
U.delay(throttleIncr, 16);

0 commit comments

Comments
 (0)