mirror of
https://github.com/labstack/echo.git
synced 2024-12-22 20:06:21 +02:00
fix test
This commit is contained in:
parent
6fd1cc3716
commit
c2af0cf5a8
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user