Skip to content

Commit 8623889

Browse files
committed
encoding/xml: fix test
1 parent 5460d25 commit 8623889

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
@@ -1901,7 +1901,7 @@ func TestParseErrors(t *testing.T) {
19011901
{withDefaultHeader(`<!-? not ok -->`), `invalid sequence <!- not part of <!--`},
19021902
{withDefaultHeader(`<![not ok]>`), `invalid <![ sequence`},
19031903
{withDefaultHeader(`<zzz:foo xmlns:zzz="http://example.com"><bar>baz</bar></foo>`),
1904-
`element <foo> in space zzz closed by </foo> in space ""`},
1904+
`element <foo> in namespace zzz closed by </foo> in namespace ""`},
19051905
{withDefaultHeader("\xf1"), `invalid UTF-8`},
19061906

19071907
// Header-related errors.

0 commit comments

Comments
 (0)