forked from jshiffer/go-xmpp
Expand test
This commit is contained in:
parent
af0ae525b8
commit
24502f7cd7
@ -126,4 +126,9 @@ func TestUnmarshalPayload(t *testing.T) {
|
|||||||
if parsedIQ.Payload == nil {
|
if parsedIQ.Payload == nil {
|
||||||
t.Error("Missing payload")
|
t.Error("Missing payload")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
namespace := parsedIQ.Payload.Namespace()
|
||||||
|
if namespace != "jabber:iq:version" {
|
||||||
|
t.Errorf("incorrect namespace: %s", namespace)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user