Update main_test.go
This commit is contained in:
parent
5d56e66366
commit
4aecc33b4c
1 changed files with 0 additions and 3 deletions
|
@ -196,9 +196,6 @@ func TestRateLimiting(t *testing.T) {
|
|||
if rateLimit.RPM.Delay != 5 {
|
||||
t.Errorf("expected %d in delay limit by rpm but %v was returned", 5, rateLimit.RPM)
|
||||
}
|
||||
if rateLimit.RPM.SharedSize != 5 {
|
||||
t.Errorf("expected %d in sharedSize limit by rpm but %v was returned", 5, rateLimit.RPM)
|
||||
}
|
||||
if rateLimit.LimitRateAfter != 100 {
|
||||
t.Errorf("expected 100 in limit by limitrateafter but %v was returned", rateLimit.LimitRateAfter)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue