changeset 21 | 8f6ae5cfc9b9 |
parent 12 | 122ab6208c3c |
child 22 | d6b7b4cbf50d |
--- a/structs_test.go Wed Dec 28 13:02:23 2011 -0700 +++ b/structs_test.go Wed Dec 28 13:05:59 2011 -0700 @@ -83,7 +83,7 @@ } func TestIqMarshal(t *testing.T) { - iq := &Iq{Type: "set", Id: "3", Any: &Unrecognized{XMLName: + iq := &Iq{Type: "set", Id: "3", Any: &Generic{XMLName: xml.Name{Space: nsBind, Local: "bind"}}} exp := `<iq id="3" type="set"><bind xmlns="` + nsBind + `"></bind></iq>`