Code formatting: allow short inline methods on one line
Summary: @public This allows short methods defined in class declarations to occupy a single line. The change makes class declarations more readable. Reviewed By: SidharthGuglani Differential Revision: D14950012 fbshipit-source-id: 1321949475184181c6cceb86613f730e430763e2
This commit is contained in:
committed by
Facebook Github Bot
parent
3f7d03b443
commit
e9bb1efb03
@@ -20,12 +20,8 @@ struct ConfigCloningTest : public ::testing::Test {
|
||||
void TearDown() override;
|
||||
|
||||
static YGNode clonedNode;
|
||||
static YGNodeRef cloneNode(YGNodeRef, YGNodeRef, int) {
|
||||
return &clonedNode;
|
||||
}
|
||||
static YGNodeRef doNotClone(YGNodeRef, YGNodeRef, int) {
|
||||
return nullptr;
|
||||
}
|
||||
static YGNodeRef cloneNode(YGNodeRef, YGNodeRef, int) { return &clonedNode; }
|
||||
static YGNodeRef doNotClone(YGNodeRef, YGNodeRef, int) { return nullptr; }
|
||||
};
|
||||
|
||||
TEST_F(ConfigCloningTest, uses_values_provided_by_cloning_callback) {
|
||||
|
Reference in New Issue
Block a user