add more tests

This commit is contained in:
kevin
2020-10-10 11:53:49 +08:00
parent be39133dba
commit adc275872d
6 changed files with 51 additions and 5 deletions

View File

@@ -13,3 +13,8 @@ func TestGroup(t *testing.T) {
assert.NotNil(t, limiter)
})
}
func TestShedderClose(t *testing.T) {
var nop nopCloser
assert.Nil(t, nop.Close())
}