re-generate tests. Something was missed when rebasing

Summary: Some of the tests were not generated correctly. most likely due to a rebase.

Reviewed By: astreet

Differential Revision: D4637539

fbshipit-source-id: 196478d7e5197519af9ab05e5134e6fb7d22b992
This commit is contained in:
Emil Sjolander
2017-03-03 10:15:49 -08:00
committed by Facebook Github Bot
parent 29fd447f0c
commit 0fde1424f0
4 changed files with 40 additions and 24 deletions

View File

@@ -927,20 +927,20 @@ it("margin_auto_left_and_right", function () {
});
it("margin_auto_start_and_end_column", function () {
try {
var root = Yoga.Node.create();
var root = Yoga.Node.create(config);
root.setFlexDirection(Yoga.FLEX_DIRECTION_ROW);
root.setAlignItems(Yoga.ALIGN_CENTER);
root.setWidth(200);
root.setHeight(200);
var root_child0 = Yoga.Node.create();
var root_child0 = Yoga.Node.create(config);
root_child0.setMargin(Yoga.EDGE_START, "auto");
root_child0.setMargin(Yoga.EDGE_END, "auto");
root_child0.setWidth(50);
root_child0.setHeight(50);
root.insertChild(root_child0, 0);
var root_child1 = Yoga.Node.create();
var root_child1 = Yoga.Node.create(config);
root_child1.setWidth(50);
root_child1.setHeight(50);
root.insertChild(root_child1, 1);
@@ -985,18 +985,18 @@ it("margin_auto_start_and_end_column", function () {
});
it("margin_auto_start_and_end", function () {
try {
var root = Yoga.Node.create();
var root = Yoga.Node.create(config);
root.setWidth(200);
root.setHeight(200);
var root_child0 = Yoga.Node.create();
var root_child0 = Yoga.Node.create(config);
root_child0.setMargin(Yoga.EDGE_START, "auto");
root_child0.setMargin(Yoga.EDGE_END, "auto");
root_child0.setWidth(50);
root_child0.setHeight(50);
root.insertChild(root_child0, 0);
var root_child1 = Yoga.Node.create();
var root_child1 = Yoga.Node.create(config);
root_child1.setWidth(50);
root_child1.setHeight(50);
root.insertChild(root_child1, 1);