Test clean up

This commit is contained in:
Mickael Remond 2019-06-04 19:01:19 +02:00
parent 06ee607f53
commit 4c23014051
No known key found for this signature in database
GPG key ID: E6F6045D79965AA3

View file

@ -13,6 +13,11 @@ func TestValidJids(t *testing.T) {
for i, sjid := range goodJids {
if jid, err = NewJid(sjid); err != nil {
t.Error("could not parse correct jid")
return
}
if jid == nil {
t.Error("jid should not be nil")
}
if jid.username != "test" {