modernize JS
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
// @generated by gentest/gentest.rb from gentest/fixtures/YGBorderTest.html
|
||||
|
||||
test("border_no_size", function () {
|
||||
test("border_no_size", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -38,7 +38,7 @@ test("border_no_size", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("border_container_match_child", function () {
|
||||
test("border_container_match_child", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -84,7 +84,7 @@ test("border_container_match_child", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("border_flex_child", function () {
|
||||
test("border_flex_child", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -132,7 +132,7 @@ test("border_flex_child", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("border_stretch_child", function () {
|
||||
test("border_stretch_child", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
@@ -179,7 +179,7 @@ test("border_stretch_child", function () {
|
||||
config.free();
|
||||
}
|
||||
});
|
||||
test("border_center_child", function () {
|
||||
test("border_center_child", () => {
|
||||
const config = Yoga.Config.create();
|
||||
let root;
|
||||
|
||||
|
Reference in New Issue
Block a user