diff --git a/src/encoding/xml/xml_test.go b/src/encoding/xml/xml_test.go index e95e1e1938cce0..c6754a85286626 100644 --- a/src/encoding/xml/xml_test.go +++ b/src/encoding/xml/xml_test.go @@ -1065,7 +1065,7 @@ func TestIssue7113(t *testing.T) { } type D struct { - XMLName Name `xml:"D"` + XMLName Name `xml:"d"` } type A struct { @@ -1076,7 +1076,7 @@ func TestIssue7113(t *testing.T) { var a A structSpace := "b" - xmlTest := `` + xmlTest := `` t.Log(xmlTest) err := Unmarshal([]byte(xmlTest), &a) if err != nil {