From 202a805f4605ae2a4ab399aa999c85154f16224f Mon Sep 17 00:00:00 2001 From: Shirou WAKAYAMA Date: Wed, 14 Oct 2015 15:59:10 +0900 Subject: [PATCH] mem[darwin]: fix printf verb. --- mem/mem_darwin_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }