Skip to content

Commit 0e4af94

Browse files
committed
Improve unit test.
1 parent 947d94f commit 0e4af94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void throttle() {
116116
final Integer[] counter = new Integer[] {0};
117117
Supplier<Void> incr = new Supplier<Void>() { public Void get() {
118118
counter[0]++; return null; } };
119-
final Supplier<Void> throttleIncr = U.throttle(incr, 30);
119+
final Supplier<Void> throttleIncr = U.throttle(incr, 40);
120120
throttleIncr.get();
121121
throttleIncr.get();
122122
U.delay(throttleIncr, 16);

0 commit comments

Comments
 (0)