diff --git a/mem/mem_darwin_test.go b/mem/mem_darwin_test.go index c52e7d4..730dc52 100644 --- a/mem/mem_darwin_test.go +++ b/mem/mem_darwin_test.go @@ -61,7 +61,7 @@ func TestParseVmStat(t *testing.T) { } if ret.Cached != uint64(128967*4096+449242.*4096) { - t.Errorf("Cached pages, actual: %d, expected: %d", ret.Cached, + t.Errorf("Cached pages, actual: %d, expected: %f", ret.Cached, 128967*4096+449242.*4096) } }