xmpp/structs_test.go
changeset 147 d7679d991b17
parent 142 0ff033eed887
child 163 3f891f7fe817
--- 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>"},