aboutsummaryrefslogtreecommitdiff
path: root/paludis/filter_TEST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/filter_TEST.cc')
-rw-r--r--paludis/filter_TEST.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/filter_TEST.cc b/paludis/filter_TEST.cc
index e443ce6..f95929d 100644
--- a/paludis/filter_TEST.cc
+++ b/paludis/filter_TEST.cc
@@ -82,7 +82,8 @@ namespace test_cases
TEST_CHECK_EQUAL(join(indirect_iterator(got->begin()), indirect_iterator(got->end()), ", "), expected);
std::tr1::shared_ptr<const PackageIDSequence> got_none(env[selection::AllVersionsSorted(
- generator::Matches(parse_user_package_dep_spec("not/exist", UserPackageDepSpecOptions())) | filter)]);
+ generator::Matches(parse_user_package_dep_spec("not/exist", &env,
+ UserPackageDepSpecOptions())) | filter)]);
TEST_CHECK(got_none);
TEST_CHECK_EQUAL(join(indirect_iterator(got_none->begin()), indirect_iterator(got_none->end()), ", "), "");
}