spelling error
This commit is contained in:
parent
35e114a3ea
commit
e679083714
@ -258,7 +258,7 @@ func TestGatewayLimitTokensAvailable(t *testing.T) {
|
|||||||
mock := &mockGatewayDepsAPI{}
|
mock := &mockGatewayDepsAPI{}
|
||||||
tokens := 3
|
tokens := 3
|
||||||
a := NewNode(mock, DefaultLookbackCap, DefaultStateWaitLookbackLimit, int64(tokens), time.Minute)
|
a := NewNode(mock, DefaultLookbackCap, DefaultStateWaitLookbackLimit, int64(tokens), time.Minute)
|
||||||
require.NoError(t, a.limit(ctx, tokens), "requests should not be limited when there are enough tokens availble")
|
require.NoError(t, a.limit(ctx, tokens), "requests should not be limited when there are enough tokens available")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestGatewayLimitTokensNotAvailable(t *testing.T) {
|
func TestGatewayLimitTokensNotAvailable(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user