From 4ff96690e7f764a04c5f5ec1618805c77b3b1eb4 Mon Sep 17 00:00:00 2001 From: Adam Wardynski <award@.(B-4.4.46a)> Date: Tue, 19 Apr 2011 11:34:45 +0200 Subject: [PATCH] Fix logic reversal in two tests. --- tests/isempty.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/isempty.cpp b/tests/isempty.cpp index 11fcee8..a55593a 100644 --- a/tests/isempty.cpp +++ b/tests/isempty.cpp @@ -90,7 +90,7 @@ BOOST_FIXTURE_TEST_CASE(empty_matchvector, IsEmptyFix) Match v_match(v); boost::shared_ptr<Function<Match> > match_expr(new Constant<Match>(v_match)); IsEmpty<Match> e(match_expr); - BOOST_CHECK(!e.apply(cx)->get_value()); + BOOST_CHECK(e.apply(cx)->get_value()); } BOOST_FIXTURE_TEST_CASE(full_matchvector, IsEmptyFix) @@ -100,7 +100,7 @@ BOOST_FIXTURE_TEST_CASE(full_matchvector, IsEmptyFix) Match v_match(v); boost::shared_ptr<Function<Match> > match_expr(new Constant<Match>(v_match)); IsEmpty<Match> e(match_expr); - BOOST_CHECK(e.apply(cx)->get_value()); + BOOST_CHECK(!e.apply(cx)->get_value()); } //------------ To string ---------- -- GitLab