Fabric: A bunch of #ifdef ANDROID

Summary: Nothing really changed; the change is only to better express an original intent.

Reviewed By: JoshuaGross

Differential Revision: D13962464

fbshipit-source-id: f385db8ba8662f2150181e47fc6a2a981f809e96
This commit is contained in:
Valentin Shergin
2019-02-06 16:12:45 -08:00
committed by Facebook Github Bot
parent 94925d5eb7
commit 2332cb6fe2
9 changed files with 34 additions and 0 deletions

View File

@@ -18,6 +18,8 @@
namespace facebook {
namespace react {
#ifdef ANDROID
TEST(ParagraphLocalDataTest, testSomething) {
auto attString = AttributedString();
auto fragment = AttributedString::Fragment();
@@ -46,5 +48,7 @@ TEST(ParagraphLocalDataTest, testSomething) {
assert(textAttribute["fontWeight"] == toString(*text.fontWeight));
}
#endif
} // namespace react
} // namespace facebook