Expand comments

This commit is contained in:
Mickael Remond 2019-07-09 17:06:57 +02:00 committed by Mickaël Rémond
parent 69118a952a
commit 014957e029

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()