diff options
Diffstat (limited to 'service/test.cpp')
-rw-r--r-- | service/test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/service/test.cpp b/service/test.cpp index c115712..8b93cf8 100644 --- a/service/test.cpp +++ b/service/test.cpp @@ -47,6 +47,11 @@ BOOST_AUTO_TEST_CASE(getServices) BOOST_CHECK(!ss.front()->urlxpath.empty()); } +BOOST_AUTO_TEST_CASE(getMatches_failure) +{ + BOOST_REQUIRE_THROW(s->getMatches("no.fixture"), MirrorSearch::XmlError); +} + BOOST_AUTO_TEST_CASE(getMatches_zstd_notfound) { auto ms = s->getMatches("zstd-1.3.3.tar.gz"); |