aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/resolver_TEST_uninstalls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/resolver/resolver_TEST_uninstalls.cc')
-rw-r--r--paludis/resolver/resolver_TEST_uninstalls.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/paludis/resolver/resolver_TEST_uninstalls.cc b/paludis/resolver/resolver_TEST_uninstalls.cc
index 7bbdc1480..76a2a8fea 100644
--- a/paludis/resolver/resolver_TEST_uninstalls.cc
+++ b/paludis/resolver/resolver_TEST_uninstalls.cc
@@ -25,6 +25,7 @@
#include <paludis/resolver/resolvent.hh>
#include <paludis/resolver/suggest_restart.hh>
#include <paludis/resolver/required_confirmations.hh>
+#include <paludis/resolver/make_uninstall_blocker.hh>
#include <paludis/environments/test/test_environment.hh>
#include <paludis/util/make_named_values.hh>
#include <paludis/util/options.hh>
@@ -93,10 +94,8 @@ namespace test_cases
void run()
{
- std::shared_ptr<const Resolved> resolved(get_resolved(BlockDepSpec(
- "!breaking/target",
- parse_user_package_dep_spec("breaking/target", &env, { }),
- bk_weak)));
+ std::shared_ptr<const Resolved> resolved(get_resolved(make_uninstall_blocker(
+ parse_user_package_dep_spec("breaking/target", &env, { }))));
if (allowed_to_remove)
check_resolved(resolved,