mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
Add FeedIcon API call and update dependencies
This commit is contained in:
parent
231ebf2daa
commit
27196589fb
262 changed files with 83830 additions and 30061 deletions
4
vendor/github.com/tdewolff/parse/xml/lex_test.go
generated
vendored
4
vendor/github.com/tdewolff/parse/xml/lex_test.go
generated
vendored
|
@ -155,6 +155,7 @@ func TestErrors(t *testing.T) {
|
|||
col int
|
||||
}{
|
||||
{"a\x00b", 2},
|
||||
{"<a\x00>", 3},
|
||||
}
|
||||
for _, tt := range errorTests {
|
||||
t.Run(tt.xml, func(t *testing.T) {
|
||||
|
@ -165,7 +166,8 @@ func TestErrors(t *testing.T) {
|
|||
if tt.col == 0 {
|
||||
test.T(t, l.Err(), io.EOF)
|
||||
} else if perr, ok := l.Err().(*parse.Error); ok {
|
||||
test.T(t, perr.Col, tt.col)
|
||||
_, col, _ := perr.Position()
|
||||
test.T(t, col, tt.col)
|
||||
} else {
|
||||
test.Fail(t, "bad error:", l.Err())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue