aboutsummaryrefslogtreecommitdiff
path: root/paludis/package_database_TEST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/package_database_TEST.cc')
-rw-r--r--paludis/package_database_TEST.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/package_database_TEST.cc b/paludis/package_database_TEST.cc
index 63c6efd47..d2196cfa2 100644
--- a/paludis/package_database_TEST.cc
+++ b/paludis/package_database_TEST.cc
@@ -216,6 +216,9 @@ namespace test_cases
TEST_CHECK_STRINGIFY_EQUAL(p.fetch_unique_qualified_package_name(PackageNamePart("pkg-foo"),
filter::SupportsAction<InstallAction>()),
"avail-cat/pkg-foo");
+ TEST_CHECK_THROWS(p.fetch_unique_qualified_package_name(PackageNamePart("pkg-foo"),
+ filter::All(), false),
+ AmbiguousPackageNameError);
}
} package_database_disambiguate_test;