Skip to content

Commit

Permalink
fix rate limit test
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke committed Apr 24, 2016
1 parent f4bc21d commit 693b1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitter4j-core/src/test/java/twitter4j/TwitterTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void testRateLimitStatus() throws Exception {
assertTrue(0 < status.getSecondsUntilReset());

rateLimitStatus = twitter1.getRateLimitStatus("block", "statuses");
assertTrue(rateLimitStatus.values().size() < 10);
assertTrue(rateLimitStatus.values().size() > 5);

twitter1.addRateLimitStatusListener(new RateLimitStatusListener() {
public void onRateLimitStatus(RateLimitStatusEvent event) {
Expand Down

0 comments on commit 693b1b5

Please sign in to comment.