Commit b49e3a58 authored by Long Cheng's avatar Long Cheng Committed by Facebook Github Bot

Delete duplicated tests

Summary: Appear to be leftover from D8683752

Reviewed By: yfeldblum

Differential Revision: D14854252

fbshipit-source-id: bef87438201f9292fb0e5c62222d1a248163eda2
parent 9bcd9d44
...@@ -98,20 +98,6 @@ TEST(Future, getRequiresOnlyMoveCtor) { ...@@ -98,20 +98,6 @@ TEST(Future, getRequiresOnlyMoveCtor) {
auto v = std::move(f).get(); auto v = std::move(f).get();
EXPECT_EQ(v.id_, 42); EXPECT_EQ(v.id_, 42);
} }
{
auto f = makeFuture<MoveCtorOnly>(MoveCtorOnly(42));
EXPECT_TRUE(f.valid());
EXPECT_TRUE(f.isReady());
auto v = std::move(f).get();
EXPECT_EQ(v.id_, 42);
}
{
auto f = makeFuture<MoveCtorOnly>(MoveCtorOnly(42));
EXPECT_TRUE(f.valid());
EXPECT_TRUE(f.isReady());
auto v = std::move(f).get(std::chrono::milliseconds(10));
EXPECT_EQ(v.id_, 42);
}
{ {
auto f = makeFuture<MoveCtorOnly>(MoveCtorOnly(42)); auto f = makeFuture<MoveCtorOnly>(MoveCtorOnly(42));
EXPECT_TRUE(f.valid()); EXPECT_TRUE(f.valid());
......
Markdown is supported
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