fix iszero

This commit is contained in:
Xiang Li
2013-11-04 21:22:22 -08:00
parent 3f6d6cf4c6
commit c5a6f9bb6b
4 changed files with 42 additions and 5 deletions

View File

@ -54,8 +54,8 @@ func TestHeapUpdate(t *testing.T) {
// Path 5
kvs[5].ExpireTime = time.Now().Add(time.Second * 12)
h.Update(kvs[3])
h.Update(kvs[5])
h.update(kvs[3])
h.update(kvs[5])
min := time.Now()