Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shareed2k committed Mar 23, 2020
1 parent d24c11f commit 917bb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func TestLimiter_Allow(t *testing.T) {

assert.Nil(t, err)
assert.True(t, res.Allowed)
assert.Equal(t, int64(1), res.Remaining)
assert.Equal(t, int64(9), res.Remaining)
})

t.Run("gcra", func(t *testing.T) {
Expand Down

0 comments on commit 917bb18

Please sign in to comment.