1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Handle more encoding conversion edge cases

This commit is contained in:
Frédéric Guillot 2018-10-29 23:00:03 -07:00
parent 5ff0630726
commit ae1dc1a91e
24 changed files with 3151 additions and 40 deletions

View file

@ -190,7 +190,7 @@ func TestDifferentEncodingWithResponse(t *testing.T) {
r.EnsureUnicodeBody()
feed, parseErr := ParseFeed(r.String())
if parseErr != nil {
t.Errorf(`Parsing error for %q - %q: %v`, tc.filename, tc.contentType, parseErr)
t.Fatalf(`Parsing error for %q - %q: %v`, tc.filename, tc.contentType, parseErr)
}
if feed.Entries[tc.index].Title != tc.title {