Commit 79d7f0f5 authored by Phil Willoughby's avatar Phil Willoughby Committed by Facebook Github Bot 5

Fix folly contbuild

Summary: Started failing when we turned on unused-result errors.

Reviewed By: yfeldblum

Differential Revision: D3728565

fbshipit-source-id: b12aee8d99f725f1a1cfaf30e9afa66bd05f7989
parent 5c7e0242
...@@ -732,7 +732,7 @@ TEST(Conv, UnsignedEnumClass) { ...@@ -732,7 +732,7 @@ TEST(Conv, UnsignedEnumClass) {
EXPECT_EQ(E::x, to<E>(3000000000U)); EXPECT_EQ(E::x, to<E>(3000000000U));
EXPECT_EQ(E::x, to<E>("3000000000")); EXPECT_EQ(E::x, to<E>("3000000000"));
E e; E e;
parseTo("3000000000", e); EXPECT_TRUE(parseTo("3000000000", e).hasValue());
EXPECT_EQ(E::x, e); EXPECT_EQ(E::x, e);
EXPECT_THROW(to<int32_t>(E::x), std::range_error); EXPECT_THROW(to<int32_t>(E::x), std::range_error);
} }
......
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