Expand comments

This commit is contained in:
Mickael Remond 2019-07-09 17:06:57 +02:00
parent 026e5e6fe1
commit 0e3101c2be
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

View File

@ -7,6 +7,7 @@ import (
"gosrc.io/xmpp/stanza" "gosrc.io/xmpp/stanza"
) )
// Test DiscoInfo Builder with several features
func TestDiscoInfo_Builder(t *testing.T) { func TestDiscoInfo_Builder(t *testing.T) {
iq := stanza.NewIQ(stanza.Attrs{Type: "get", To: "service.localhost", Id: "disco-get-1"}) iq := stanza.NewIQ(stanza.Attrs{Type: "get", To: "service.localhost", Id: "disco-get-1"})
disco := iq.DiscoInfo() disco := iq.DiscoInfo()