try fix
This commit is contained in:
parent
7df156b74a
commit
9aa0dbfc19
@ -69,7 +69,8 @@ std::vector<std::function<void(either<Left, Right>&)>> EXPECT_IS_LEFT(const Left
|
|||||||
}, [&] (auto& obj) {
|
}, [&] (auto& obj) {
|
||||||
EXPECT_ANY_THROW(std::move(obj).right());
|
EXPECT_ANY_THROW(std::move(obj).right());
|
||||||
}, [&] (auto& obj) {
|
}, [&] (auto& obj) {
|
||||||
EXPECT_EQ(expected, obj.left_opt().value());
|
auto a = obj.left_opt();
|
||||||
|
EXPECT_EQ(expected, a.value());
|
||||||
}, [&] (auto& obj) {
|
}, [&] (auto& obj) {
|
||||||
auto a = std::move(obj).left_opt();
|
auto a = std::move(obj).left_opt();
|
||||||
EXPECT_EQ(expected, a.value());
|
EXPECT_EQ(expected, a.value());
|
||||||
|
Loading…
Reference in New Issue
Block a user