Apply clang-format update fixes
Reviewed By: igorsugak Differential Revision: D25861849 fbshipit-source-id: 840dc1061e557717c7f9ffcccbc09c24b96b78e0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a38ec3d7a4
commit
584dfe961e
@@ -29,12 +29,13 @@ TEST(YogaTest, computed_layout_padding) {
|
||||
}
|
||||
|
||||
TEST(YogaTest, padding_side_overrides_horizontal_and_vertical) {
|
||||
const std::array<YGEdge, 6> edges = {{YGEdgeTop,
|
||||
YGEdgeBottom,
|
||||
YGEdgeStart,
|
||||
YGEdgeEnd,
|
||||
YGEdgeLeft,
|
||||
YGEdgeRight}};
|
||||
const std::array<YGEdge, 6> edges = {
|
||||
{YGEdgeTop,
|
||||
YGEdgeBottom,
|
||||
YGEdgeStart,
|
||||
YGEdgeEnd,
|
||||
YGEdgeLeft,
|
||||
YGEdgeRight}};
|
||||
|
||||
for (float edgeValue = 0; edgeValue < 2; ++edgeValue) {
|
||||
for (const auto& edge : edges) {
|
||||
@@ -58,12 +59,13 @@ TEST(YogaTest, padding_side_overrides_horizontal_and_vertical) {
|
||||
}
|
||||
|
||||
TEST(YogaTest, padding_side_overrides_all) {
|
||||
const std::array<YGEdge, 6> edges = {{YGEdgeTop,
|
||||
YGEdgeBottom,
|
||||
YGEdgeStart,
|
||||
YGEdgeEnd,
|
||||
YGEdgeLeft,
|
||||
YGEdgeRight}};
|
||||
const std::array<YGEdge, 6> edges = {
|
||||
{YGEdgeTop,
|
||||
YGEdgeBottom,
|
||||
YGEdgeStart,
|
||||
YGEdgeEnd,
|
||||
YGEdgeLeft,
|
||||
YGEdgeRight}};
|
||||
|
||||
for (float edgeValue = 0; edgeValue < 2; ++edgeValue) {
|
||||
for (const auto& edge : edges) {
|
||||
|
Reference in New Issue
Block a user