From 6fdd0893c3ebf57e5a9ba2af569c595c859ab902 Mon Sep 17 00:00:00 2001 From: Felix Lange <fjl@twurst.com> Date: Fri, 15 Apr 2016 11:06:57 +0200 Subject: all: fix go vet warnings --- common/math/dist_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/math') diff --git a/common/math/dist_test.go b/common/math/dist_test.go index 1eacfbcaf..826faea8b 100644 --- a/common/math/dist_test.go +++ b/common/math/dist_test.go @@ -35,7 +35,7 @@ func TestSum(t *testing.T) { summer := summer{numbers: []*big.Int{big.NewInt(1), big.NewInt(2), big.NewInt(3)}} sum := Sum(summer) if sum.Cmp(big.NewInt(6)) != 0 { - t.Errorf("not 6", sum) + t.Errorf("got sum = %d, want 6", sum) } } -- cgit