diff --git a/src/encoding/xml/marshal_test.go b/src/encoding/xml/marshal_test.go index 5c79a48e7a..a0ccf44028 100644 --- a/src/encoding/xml/marshal_test.go +++ b/src/encoding/xml/marshal_test.go @@ -583,16 +583,6 @@ var marshalTests = []struct { ExpectXML: ``, }, - // A pointer to struct{} may be used to test for an element's presence. - { - Value: &PresenceTest{new(struct{})}, - ExpectXML: ``, - }, - { - Value: &PresenceTest{}, - ExpectXML: ``, - }, - // A []byte field is only nil if the element was not found. { Value: &Data{},