diff -r a77fc342e013 -r 1dc47df5c99f structs_test.go
--- a/structs_test.go Thu Dec 29 11:11:18 2011 -0700
+++ b/structs_test.go Thu Dec 29 11:17:52 2011 -0700
@@ -69,13 +69,13 @@
func TestStreamErrorMarshal(t *testing.T) {
name := xml.Name{Space: nsStreams, Local: "ack"}
- e := &StreamError{Any: Generic{XMLName: name}}
+ e := &streamError{Any: Generic{XMLName: name}}
exp := ``;
assertMarshal(t, exp, e)
txt := errText{Lang: "pt", Text: "things happen"}
- e = &StreamError{Any: Generic{XMLName: name}, Text: &txt}
+ e = &streamError{Any: Generic{XMLName: name}, Text: &txt}
exp = `things happen`