Skip to content
Snippets Groups Projects
Commit 4ff96690 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Fix logic reversal in two tests.

parent 09eb1743
Branches
No related merge requests found
......@@ -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 ----------
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment