bmizerany / perks

Effective Computation of Things
BSD 2-Clause "Simplified" License
186 stars 53 forks source link

Go 1.10: histogram_test.go:28: Fatalf format %d has arg numPoints of wrong type float64 #18

Open nim-nim opened 6 years ago

nim-nim commented 6 years ago

d9a9656a3a4b1c2864fdb44db2ef8619772d92aa does not pass Go 1.10 unit tests. At least:

+ GOPATH=/builddir/build/BUILD/perks-d9a9656a3a4b1c2864fdb44db2ef8619772d92aa/_build:/usr/share/gocode
+ go test -buildmode pie -compiler gc -ldflags '-extldflags '\''-Wl,-z,relro  '\'''
# github.com/bmizerany/perks/histogram
./histogram_test.go:28: Fatalf format %d has arg numPoints of wrong type float64
FAIL    github.com/bmizerany/perks/histogram [build failed]