diff --git a/middleware/rate_limiter_test.go b/middleware/rate_limiter_test.go index de546a19..878fcb78 100644 --- a/middleware/rate_limiter_test.go +++ b/middleware/rate_limiter_test.go @@ -412,7 +412,7 @@ func TestRateLimiterMemoryStore_cleanupStaleVisitors(t *testing.T) { func TestNewRateLimiterMemoryStore(t *testing.T) { testCases := []struct { - rate rate.Limit + rate float64 burst int expiresIn time.Duration expectedExpiresIn time.Duration