Properly gate the wchar tests in FBStringTest
[folly.git] / folly / test / FBStringTest.cpp
index 44d7864b0a634dbd85ac90ae32ecd6a24e036eb7..2c867dd1d230b8d283a815a6c14a698891960771 100644 (file)
@@ -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;