update go test

This commit is contained in:
Andy Pan 2018-09-28 20:30:04 +08:00
commit f52474a42a
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func TestAntsPoolWithFunc(t *testing.T) {
mem := runtime.MemStats{}
runtime.ReadMemStats(&mem)
curMem = mem.TotalAlloc / MiB - curMem
t.Logf("memory usage:%d", curMem)
t.Logf("memory usage:%d MB", curMem)
}
func TestNoPool(t *testing.T) {
var wg sync.WaitGroup