changeset 111 | 36287f2cf06e |
parent 110 | 7696e6a01709 |
child 114 | a058e33c1666 |
--- a/structs_test.go Sun Dec 16 22:17:49 2012 -0700 +++ b/structs_test.go Sun Dec 16 22:36:53 2012 -0700 @@ -89,7 +89,7 @@ } func TestIqMarshal(t *testing.T) { - iq := &Iq{Stanza: Stanza{Type: "set", Id: "3", + iq := &Iq{Header: Header{Type: "set", Id: "3", Nested: []interface{}{Generic{XMLName: xml.Name{Space: NsBind, Local: "bind"}}}}} exp := `<iq id="3" type="set"><bind xmlns="` + NsBind +