Tiny clean up

This commit is contained in:
ngaut
2015-11-22 12:23:04 +08:00
parent d8c26fd328
commit d3bfec6eca

View File

@ -1,7 +1,6 @@
package localstore_test
import (
"log"
"sync"
. "github.com/pingcap/check"
@ -43,10 +42,7 @@ func (t *testIsolationSuite) TestInc(c *C) {
m.Lock()
_, ok := ids[id]
if ok {
log.Fatal("")
}
//c.Assert(ok, IsFalse)
c.Assert(ok, IsFalse)
ids[id] = struct{}{}
m.Unlock()
}