Skip to content

Commit a79fce7

Browse files
committed
encoding/xml: fix test
1 parent 67dbca9 commit a79fce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encoding/xml/xml_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1925,7 +1925,7 @@ func TestParseErrors(t *testing.T) {
19251925
{withDefaultHeader(`<!-? not ok -->`), `invalid sequence <!- not part of <!--`},
19261926
{withDefaultHeader(`<![not ok]>`), `invalid <![ sequence`},
19271927
{withDefaultHeader(`<zzz:foo xmlns:zzz="http://example.com"><bar>baz</bar></foo>`),
1928-
`element <foo> in space zzz closed by </foo> in space ""`},
1928+
`element <foo> in namespace zzz closed by </foo> in namespace ""`},
19291929
{withDefaultHeader("\xf1"), `invalid UTF-8`},
19301930

19311931
// Header-related errors.

0 commit comments

Comments
 (0)