From d22ee9d9dd8801313f28dbc414922f6c166eb0e5 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Sun, 28 Apr 2024 14:44:37 +0100 Subject: [PATCH] ugh --- toml_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toml_test.go b/toml_test.go index 0771f57..2cbfdf8 100644 --- a/toml_test.go +++ b/toml_test.go @@ -138,7 +138,7 @@ func TestSize(t *testing.T) { return nil } - t.Logf("%s: %fK", path, inf.Size()/1024) + t.Logf("%s: %fK", path, float64(inf.Size()/1024)) if inf.Size() > 1024 { t.Errorf("larger than 1K: %s (%fK)", path, float64(inf.Size())/1024)