From 1f12f5a4d2989ff2563bc01eb800c0ea94b06c3e Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Fri, 28 Sep 2018 20:10:59 +0800 Subject: [PATCH] update go test --- ants_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ants_test.go b/ants_test.go index aff9053..3fb42a0 100644 --- a/ants_test.go +++ b/ants_test.go @@ -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