Expand comments
This commit is contained in:
parent
69118a952a
commit
014957e029
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue