mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
adapt tests
This commit is contained in:
parent
c5b41c77d2
commit
38339571d1
4
test.cpp
4
test.cpp
@ -76,13 +76,13 @@ TEST_CASE("CrossForward tests", "[CrossForward]")
|
||||
std::unique_ptr<int>&>::value,
|
||||
"cross_forward returns wrong type!");
|
||||
|
||||
SECTION("CrossForward - forward l-value references")
|
||||
SECTION("forward l-value references")
|
||||
{
|
||||
extract(con);
|
||||
REQUIRE(con.ptr.get());
|
||||
}
|
||||
|
||||
SECTION("CrossForward - forward r-value references")
|
||||
SECTION("forward r-value references")
|
||||
{
|
||||
extract(std::move(con));
|
||||
REQUIRE_FALSE(con.ptr.get());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user