1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-22 20:06:21 +02:00
This commit is contained in:
toimtoimtoim 2023-03-01 23:52:43 +02:00
parent 6fd1cc3716
commit c2af0cf5a8
No known key found for this signature in database
GPG Key ID: 0443E21F7D9928AF

View File

@ -412,7 +412,7 @@ func TestRateLimiterMemoryStore_cleanupStaleVisitors(t *testing.T) {
func TestNewRateLimiterMemoryStore(t *testing.T) { func TestNewRateLimiterMemoryStore(t *testing.T) {
testCases := []struct { testCases := []struct {
rate rate.Limit rate float64
burst int burst int
expiresIn time.Duration expiresIn time.Duration
expectedExpiresIn time.Duration expectedExpiresIn time.Duration