projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c7e024
)
Fix folly contbuild
author
Phil Willoughby
<philwill@fb.com>
Wed, 17 Aug 2016 18:38:06 +0000
(11:38 -0700)
committer
Facebook Github Bot 5
<facebook-github-bot-5-bot@fb.com>
Wed, 17 Aug 2016 18:38:40 +0000
(11:38 -0700)
Summary: Started failing when we turned on unused-result errors.
Reviewed By: yfeldblum
Differential Revision:
D3728565
fbshipit-source-id:
b12aee8d99f725f1a1cfaf30e9afa66bd05f7989
folly/test/ConvTest.cpp
patch
|
blob
|
history
diff --git
a/folly/test/ConvTest.cpp
b/folly/test/ConvTest.cpp
index 2ff1ab08e2e347050d2e67be5a649e1c4cfa0c5a..feaf74964070e8789aa57a1155c711656fae61d6 100644
(file)
--- a/
folly/test/ConvTest.cpp
+++ b/
folly/test/ConvTest.cpp
@@
-732,7
+732,7
@@
TEST(Conv, UnsignedEnumClass) {
EXPECT_EQ(E::x, to<E>(3000000000U));
EXPECT_EQ(E::x, to<E>("3000000000"));
E e;
-
parseTo("3000000000", e
);
+
EXPECT_TRUE(parseTo("3000000000", e).hasValue()
);
EXPECT_EQ(E::x, e);
EXPECT_THROW(to<int32_t>(E::x), std::range_error);
}