Skip to content

Commit

Permalink
encoding/xml: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ydnar committed Sep 5, 2024
1 parent 5460d25 commit 8623889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encoding/xml/xml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,7 @@ func TestParseErrors(t *testing.T) {
{withDefaultHeader(`<!-? not ok -->`), `invalid sequence <!- not part of <!--`},
{withDefaultHeader(`<![not ok]>`), `invalid <![ sequence`},
{withDefaultHeader(`<zzz:foo xmlns:zzz="http://example.com"><bar>baz</bar></foo>`),
`element <foo> in space zzz closed by </foo> in space ""`},
`element <foo> in namespace zzz closed by </foo> in namespace ""`},
{withDefaultHeader("\xf1"), `invalid UTF-8`},

// Header-related errors.
Expand Down

0 comments on commit 8623889

Please sign in to comment.