adjust gtimer.Entry.Reset() Test Code.

This commit is contained in:
糖水不加糖
2020-07-30 11:00:19 +08:00
parent 5d24f702be
commit 9e1fb93e08

View File

@ -76,6 +76,7 @@ func TestTimer_Start_Stop_Close(t *testing.T) {
func TestTimer_Reset(t *testing.T) {
gtest.C(t, func(t *gtest.T) {
timer := New()
array := garray.New(true)
glog.Printf("start time:%d", time.Now().Unix())
singleton := timer.AddSingleton(2*time.Second, func() {