diff options
Diffstat (limited to 'test/rssparser.cpp')
-rw-r--r-- | test/rssparser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rssparser.cpp b/test/rssparser.cpp index 04c04fbd..ca68518b 100644 --- a/test/rssparser.cpp +++ b/test/rssparser.cpp @@ -15,7 +15,7 @@ using namespace newsboat; TEST_CASE("parse() ignores uninitialized upstream feed", "[RssParser]") { ConfigContainer cfg; - Cache rsscache(":memory:", &cfg); + Cache rsscache(":memory:", cfg); RssIgnores ignores; RssParser parser("http://example.com", rsscache, cfg, &ignores); @@ -28,7 +28,7 @@ TEST_CASE("parse() with no item GUID falls back to link+pubdate, link, and title "[RssParser]") { ConfigContainer cfg; - Cache rsscache(":memory:", &cfg); + Cache rsscache(":memory:", cfg); RssIgnores ignores; RssParser parser("http://example.com", rsscache, cfg, &ignores); @@ -83,7 +83,7 @@ TEST_CASE("parse() renders html titles into plaintext if type indicates html", "[RssParser]") { ConfigContainer cfg; - Cache rsscache(":memory:", &cfg); + Cache rsscache(":memory:", cfg); RssIgnores ignores; RssParser parser("http://example.com", rsscache, cfg, &ignores); @@ -128,7 +128,7 @@ TEST_CASE("parse() generates a title when title element is missing", "[RssParser]") { ConfigContainer cfg; - Cache rsscache(":memory:", &cfg); + Cache rsscache(":memory:", cfg); RssIgnores ignores; RssParser parser("http://example.com", rsscache, cfg, &ignores); @@ -167,7 +167,7 @@ TEST_CASE("parse() generates a title when title element is missing", TEST_CASE("parse() extracts best enclosure", "[RssParser]") { ConfigContainer cfg; - Cache rsscache(":memory:", &cfg); + Cache rsscache(":memory:", cfg); RssIgnores ignores; RssParser parser("http://example.com", rsscache, cfg, &ignores); |