x/text: FAIL: TestCountMallocs #23000
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Hello !
What version of Go are you using (
go version
)? 1.8Does this issue reproduce with the latest release? version 0.1.0
What did you do?
I try to test message in the project github.com/golang/text/ in version 0.1.0 it fails with
--- FAIL: TestCountMallocs (0.00s)
fmt_test.go:1443: Sprintf("%x"): got 3 allocs, want <=2
fmt_test.go:1443: Sprintf("%s"): got 3 allocs, want <=2
fmt_test.go:1443: Sprintf("%x %x"): got 4 allocs, want <=3
fmt_test.go:1443: Sprintf("%g"): got 5 allocs, want <=2
fmt_test.go:1443: Fprintf(buf, "%s"): got 2 allocs, want <=1
fmt_test.go:1443: Fprintf(buf, "%x %x %x"): got 1 allocs, want <=0
FAIL
exit status 1
FAIL golang.org/x/text/message 0.023s
Thank you for your help
The text was updated successfully, but these errors were encountered: