adapt tests

This commit is contained in:
Naios 2015-08-09 16:46:43 +02:00
parent c5b41c77d2
commit 38339571d1

View File

@ -76,13 +76,13 @@ TEST_CASE("CrossForward tests", "[CrossForward]")
std::unique_ptr<int>&>::value, std::unique_ptr<int>&>::value,
"cross_forward returns wrong type!"); "cross_forward returns wrong type!");
SECTION("CrossForward - forward l-value references") SECTION("forward l-value references")
{ {
extract(con); extract(con);
REQUIRE(con.ptr.get()); REQUIRE(con.ptr.get());
} }
SECTION("CrossForward - forward r-value references") SECTION("forward r-value references")
{ {
extract(std::move(con)); extract(std::move(con));
REQUIRE_FALSE(con.ptr.get()); REQUIRE_FALSE(con.ptr.get());