Expand test

This commit is contained in:
Mickael Remond 2019-06-19 11:19:16 +02:00 committed by Mickaël Rémond
parent af0ae525b8
commit 24502f7cd7

View file

@ -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)
}
}