mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-23 19:12:00 -08:00
Expand test
This commit is contained in:
parent
af0ae525b8
commit
24502f7cd7
@ -126,4 +126,9 @@ func TestUnmarshalPayload(t *testing.T) {
|
||||
if parsedIQ.Payload == nil {
|
||||
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