--- a/xmpp/structs_test.go Sun Sep 15 12:42:49 2013 -0600
+++ b/xmpp/structs_test.go Sun Sep 15 13:09:26 2013 -0600
@@ -118,7 +118,7 @@
str := `<message to="a@b.c"><body>foo!</body></message>`
r := strings.NewReader(str)
ch := make(chan interface{})
- go readXml(r, ch, make(map[xml.Name]reflect.Type))
+ go recvXml(r, ch, make(map[xml.Name]reflect.Type))
obs := <-ch
exp := &Message{XMLName: xml.Name{Local: "message", Space: "jabber:client"},
Header: Header{To: "a@b.c", Innerxml: "<body>foo!</body>"},