From 8fb82f5c67f1117256a7caacd7c9b0d23c3df88f Mon Sep 17 00:00:00 2001 From: Daniel Burrows Date: Mon, 6 Jul 2009 22:35:33 -0700 Subject: Fix the second solution that's expected in the mandate tests. Oops. --- tests/test_resolver.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_resolver.cc b/tests/test_resolver.cc index c99c1248..d2ef3f0c 100644 --- a/tests/test_resolver.cc +++ b/tests/test_resolver.cc @@ -418,8 +418,8 @@ private: LOG_TRACE(logger, "Got another solution after a second mandate: " << sol); choice_set expected_solution2; - expected_solution.insert_or_narrow(choice::make_install_version(b.version_from_name("v2"), 0)); - assertSameEffect(expected_solution, sol.get_choices()); + expected_solution2.insert_or_narrow(choice::make_install_version(b.version_from_name("v2"), 0)); + assertSameEffect(expected_solution2, sol.get_choices()); } catch(NoMoreSolutions) { @@ -484,8 +484,8 @@ private: LOG_TRACE(logger, "Got another solution after a second mandate: " << sol); choice_set expected_solution2; - expected_solution.insert_or_narrow(choice::make_install_version(b.version_from_name("v2"), 0)); - assertSameEffect(expected_solution, sol.get_choices()); + expected_solution2.insert_or_narrow(choice::make_install_version(b.version_from_name("v2"), 0)); + assertSameEffect(expected_solution2, sol.get_choices()); } catch(NoMoreSolutions) { -- cgit v1.2.3