forked from jshiffer/go-xmpp
Test clean up
This commit is contained in:
parent
06ee607f53
commit
4c23014051
@ -13,6 +13,11 @@ func TestValidJids(t *testing.T) {
|
|||||||
for i, sjid := range goodJids {
|
for i, sjid := range goodJids {
|
||||||
if jid, err = NewJid(sjid); err != nil {
|
if jid, err = NewJid(sjid); err != nil {
|
||||||
t.Error("could not parse correct jid")
|
t.Error("could not parse correct jid")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
if jid == nil {
|
||||||
|
t.Error("jid should not be nil")
|
||||||
}
|
}
|
||||||
|
|
||||||
if jid.username != "test" {
|
if jid.username != "test" {
|
||||||
|
Loading…
Reference in New Issue
Block a user