xmpp/roster_test.go
changeset 183 b4bd77d58a3e
parent 181 750bc33ccdda
--- a/xmpp/roster_test.go	Sun Feb 09 09:50:38 2014 -0700
+++ b/xmpp/roster_test.go	Sun Feb 09 09:52:28 2014 -0700
@@ -29,7 +29,7 @@
 		t.Fatalf("parseExtended: %v", err)
 	}
 	assertEquals(t, "iq", iq.XMLName.Local)
-	assertEquals(t, "from", iq.From)
+	assertEquals(t, "from", string(iq.From))
 	assertEquals(t, "en", iq.Lang)
 	nested := iq.Nested
 	if nested == nil {
@@ -49,5 +49,5 @@
 		t.Fatalf("Wrong # items: %v", rq.Item)
 	}
 	item := rq.Item[0]
-	assertEquals(t, "a@b.c", item.Jid)
+	assertEquals(t, "a@b.c", string(item.Jid))
 }