diff --git a/histogram/histogram_test.go b/histogram/histogram_test.go index 2a2d057..277749d 100644 --- a/histogram/histogram_test.go +++ b/histogram/histogram_test.go @@ -6,7 +6,7 @@ ) func TestHistogram(t *testing.T) { - const numPoints = 1e6 + const numPoints = 1000000 const maxBins = 3 h := New(maxBins) @@ -25,7 +25,7 @@ } if g := count(h.Bins()); g != numPoints { - t.Fatalf("binned %d points, wanted %f", g, numPoints) + t.Fatalf("binned %d points, wanted %d", g, numPoints) } }