Commit 5b978faa authored by Michael Lee's avatar Michael Lee Committed by Facebook Github Bot

Turn off failing FBString test for Android

Summary: The traitsLength call in the basic_fbstring constructor is returning a bad value.

Reviewed By: Orvid

Differential Revision: D4930106

fbshipit-source-id: 556a61c4496c2af91cb70db6d62cdc7e915edd55
parent 09887be9
......@@ -1596,6 +1596,7 @@ TEST(U16FBString, compareToStdU16StringLong) {
EXPECT_TRUE(fbB >= stdB);
}
#ifndef __ANDROID__ // Android's handling of char32_t causes this test to fail
TEST(U32FBString, compareToStdU32StringLong) {
using folly::basic_fbstring;
using namespace std::string_literals;
......@@ -1620,6 +1621,7 @@ TEST(U32FBString, compareToStdU32StringLong) {
EXPECT_TRUE(stdB >= fbB);
EXPECT_TRUE(fbB >= stdB);
}
#endif
TEST(WFBString, compareToStdWStringLong) {
using folly::basic_fbstring;
......
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