xmpp/roster_test.go
changeset 180 3010996c1928
parent 142 0ff033eed887
child 181 750bc33ccdda
--- a/xmpp/roster_test.go	Sat Nov 09 12:22:01 2013 -0700
+++ b/xmpp/roster_test.go	Sat Nov 09 12:33:25 2013 -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 {