diff options
author | Evgeny Kuznetsov <evgeny@kuznetsov.md> | 2020-02-05 20:27:25 +0300 |
---|---|---|
committer | Evgeny Kuznetsov <evgeny@kuznetsov.md> | 2020-02-05 20:27:25 +0300 |
commit | 3cd999ac2ed914eb2d0c76e31261b4416a84d9ca (patch) | |
tree | 5723bec595e13678b15506f43cf33582aa9eea47 /testdata | |
parent | 789eb9f24ac72505ef8bd89d6c94a99ba9d7efad (diff) | |
download | radiorus-rss-3cd999ac2ed914eb2d0c76e31261b4416a84d9ca.tar.gz radiorus-rss-3cd999ac2ed914eb2d0c76e31261b4416a84d9ca.zip |
don't panic when feed image can't be parsed
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/TestNoImage.golden | 7 | ||||
-rw-r--r-- | testdata/episodes.noimg | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/testdata/TestNoImage.golden b/testdata/TestNoImage.golden new file mode 100644 index 0000000..fcb03d7 --- /dev/null +++ b/testdata/TestNoImage.golden @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"> + <channel> + <title>"Аэростат"</title> + <link>http://www.radiorus.ru/brand/57083/episodes</link> + <description></description> + </channel> +</rss>
\ No newline at end of file diff --git a/testdata/episodes.noimg b/testdata/episodes.noimg new file mode 100644 index 0000000..d13a0fc --- /dev/null +++ b/testdata/episodes.noimg @@ -0,0 +1 @@ + <h2><a href="/brand/57083">"Аэростат"</a></h2> |