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

Properly gate the wchar tests in FBStringTest

Summary: Using `#ifndef __ANDROID__` does not necessarily handle all cases of gating the wchar tests

Reviewed By: Orvid

Differential Revision: D4938634

fbshipit-source-id: a2184e20b8c382e5a34947c029f7e3746272b407
parent 2d466553
......@@ -1596,7 +1596,7 @@ TEST(U16FBString, compareToStdU16StringLong) {
EXPECT_TRUE(fbB >= stdB);
}
#ifndef __ANDROID__ // Android's handling of char32_t causes this test to fail
#if FOLLY_HAVE_WCHAR_SUPPORT
TEST(U32FBString, compareToStdU32StringLong) {
using folly::basic_fbstring;
using namespace std::string_literals;
......
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