~samwhited/xmpp

1778e26e418eb8885d48605c40e33274efc70da9 — Sam Whited 5 years ago 5cbc56a
Remove copy/pasted comment
1 files changed, 0 insertions(+), 11 deletions(-)

M starttls_test.go
M starttls_test.go => starttls_test.go +0 -11
@@ 96,14 96,3 @@ func TestStartTLSParse(t *testing.T) {
		}
	}
}

//		Parse: func(ctx context.Context, d *xml.Decoder, start *xml.StartElement) (bool, interface{}, error) {
//			parsed := struct {
//				XMLName  xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-tls starttls"`
//				Required struct {
//					XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-tls required"`
//				}
//			}{}
//			err := d.DecodeElement(&parsed, start)
//			return parsed.Required.XMLName.Local == "required" && parsed.Required.XMLName.Space == NSStartTLS, nil, err
//		},