Closed
Description
While investigating #65072, I added a test to narrow down an aix-ppc64 builder failure to the x/text package. This is the entire content of that test (Source):
func TestHoverLit_Issue65072(t *testing.T) {
// This test attempts to demonstrate a root cause of the flake reported in
// https://github.com/golang/go/issues/65072#issuecomment-2111425245 On the
// aix-ppc64 builder, this rune was sometimes reported as "LETTER AMONGOLI".
if got, want := runenames.Name(0x2211), "N-ARY SUMMATION"; got != want {
t.Fatalf("runenames.Name(0x2211) = %q, want %q", got, want)
}
}
Sample failure:
https://build.golang.org/log/1627876befc9a306fd0cb1b6c9f21c9cdb42c1df
--- FAIL: TestHoverLit_Issue65072 (0.00s)
hover_test.go:18: runenames.Name(0x2211) = "LETTER AMONGOLI", want "N-ARY SUMMATION"
I've not investigated further, but it appears that x/text is somehow returning an incorrect rune name on this builder.
CC @golang/aix @golang/ppc64