Summary: Broken on other platforms, because demangle(typeid()) seems to return different results? not entirely sure, but would like the builds to be green again
Test Plan: watch contbuild for 'fbthrift jenkins build' to pass
Reviewed By: mhorowitz@fb.com
Subscribers: doug, njormrod
FB internal diff:
D1544919
Blame Revision:
D1535681
EXPECT_EQ("0x61ffffffffff", humanify(string("a\xff\xff\xff\xff\xff")));
}
-TEST(String, exceptionStr) {
- EXPECT_EQ(exceptionStr(0), "int");
- EXPECT_EQ(exceptionStr(std::exception()), "std::exception: std::exception");
- EXPECT_EQ(exceptionStr(std::runtime_error("folly")),
- "std::runtime_error: folly");
-}
-
namespace {
/**