aboutsummaryrefslogtreecommitdiffstats
path: root/common/math/dist_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/math/dist_test.go')
-rw-r--r--common/math/dist_test.go2
1 files changed, 1 insertions, 1 deletions
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)
}
}