tawasuyu

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 496HTML 245JavaScript 8CSS 61215 Definitions

Fix typo in test names s/strech/stretch/ (#318)

70d495a7b41cdeb620c54ec7ae69e2c0f9da4aa0 · by Nico Burns · (3 years ago) · parent bb84a666b · browse the tree at this commit

Semantic delta · 25

benches/generated/align_strech_should_size_based_on_parent.rs

benches/generated/align_stretch_should_size_based_on_parent.rs

benches/generated/margin_auto_left_and_right_strech.rs

benches/generated/margin_auto_left_and_right_stretch.rs

benches/generated/margin_auto_top_and_bottom_strech.rs

benches/generated/margin_auto_top_and_bottom_stretch.rs

tests/generated/align_strech_should_size_based_on_parent.rs

tests/generated/align_stretch_should_size_based_on_parent.rs

tests/generated/margin_auto_left_and_right_strech.rs

tests/generated/margin_auto_left_and_right_stretch.rs

tests/generated/margin_auto_top_and_bottom_strech.rs

tests/generated/margin_auto_top_and_bottom_stretch.rs

20 files · +387 −387

diff --git a/benches/generated/align_strech_should_size_based_on_parent.rs b/benches/generated/align_stretch_should_size_based_on_parent.rs
similarity index 100%
rename from benches/generated/align_strech_should_size_based_on_parent.rs
rename to benches/generated/align_stretch_should_size_based_on_parent.rs
diff --git a/benches/generated/margin_auto_left_and_right_strech.rs b/benches/generated/margin_auto_left_and_right_stretch.rs
similarity index 100%
rename from benches/generated/margin_auto_left_and_right_strech.rs
rename to benches/generated/margin_auto_left_and_right_stretch.rs
diff --git a/benches/generated/margin_auto_top_and_bottom_strech.rs b/benches/generated/margin_auto_top_and_bottom_stretch.rs
similarity index 100%
rename from benches/generated/margin_auto_top_and_bottom_strech.rs
rename to benches/generated/margin_auto_top_and_bottom_stretch.rs
diff --git a/benches/generated/mod.rs b/benches/generated/mod.rs
index 073f120a7..a77424070 100644
--- a/benches/generated/mod.rs
+++ b/benches/generated/mod.rs
@@ -110,7 +110,7 @@ mod align_self_center;
 mod align_self_flex_end;
 mod align_self_flex_end_override_flex_start;
 mod align_self_flex_start;
-mod align_strech_should_size_based_on_parent;
+mod align_stretch_should_size_based_on_parent;
 mod border_center_child;
 mod border_flex_child;
 mod border_no_child;
@@ -451,7 +451,7 @@ mod margin_auto_left;
 mod margin_auto_left_and_right;
 mod margin_auto_left_and_right_column;
 mod margin_auto_left_and_right_column_and_center;
-mod margin_auto_left_and_right_strech;
+mod margin_auto_left_and_right_stretch;
 mod margin_auto_left_child_bigger_than_parent;
 mod margin_auto_left_fix_right_child_bigger_than_parent;
 mod margin_auto_left_right_child_bigger_than_parent;
@@ -460,7 +460,7 @@ mod margin_auto_mutiple_children_column;
 mod margin_auto_mutiple_children_row;
 mod margin_auto_right;
 mod margin_auto_top;
-mod margin_auto_top_and_bottom_strech;
+mod margin_auto_top_and_bottom_stretch;
 mod margin_auto_top_stretching_child;
 mod margin_bottom;
 mod margin_fix_left_auto_right_child_bigger_than_parent;
@@ -624,7 +624,7 @@ fn benchmark(c: &mut Criterion) {
             align_self_flex_end::compute();
             align_self_flex_end_override_flex_start::compute();
             align_self_flex_start::compute();
-            align_strech_should_size_based_on_parent::compute();
+            align_stretch_should_size_based_on_parent::compute();
             border_center_child::compute();
             border_flex_child::compute();
             border_no_child::compute();
@@ -965,7 +965,7 @@ fn benchmark(c: &mut Criterion) {
             margin_auto_left_and_right::compute();
             margin_auto_left_and_right_column::compute();
             margin_auto_left_and_right_column_and_center::compute();
-            margin_auto_left_and_right_strech::compute();
+            margin_auto_left_and_right_stretch::compute();
             margin_auto_left_child_bigger_than_parent::compute();
             margin_auto_left_fix_right_child_bigger_than_parent::compute();
             margin_auto_left_right_child_bigger_than_parent::compute();
@@ -974,7 +974,7 @@ fn benchmark(c: &mut Criterion) {
             margin_auto_mutiple_children_row::compute();
             margin_auto_right::compute();
             margin_auto_top::compute();
-            margin_auto_top_and_bottom_strech::compute();
+            margin_auto_top_and_bottom_stretch::compute();
             margin_auto_top_stretching_child::compute();
             margin_bottom::compute();
             margin_fix_left_auto_right_child_bigger_than_parent::compute();
diff --git a/test_fixtures/align_strech_should_size_based_on_parent.html b/test_fixtures/align_stretch_should_size_based_on_parent.html
similarity index 100%
rename from test_fixtures/align_strech_should_size_based_on_parent.html
rename to test_fixtures/align_stretch_should_size_based_on_parent.html
diff --git a/test_fixtures/margin_auto_left_and_right_strech.html b/test_fixtures/margin_auto_left_and_right_stretch.html
similarity index 100%
rename from test_fixtures/margin_auto_left_and_right_strech.html
rename to test_fixtures/margin_auto_left_and_right_stretch.html
diff --git a/test_fixtures/margin_auto_top_and_bottom_strech.html b/test_fixtures/margin_auto_top_and_bottom_stretch.html
similarity index 100%
rename from test_fixtures/margin_auto_top_and_bottom_strech.html
rename to test_fixtures/margin_auto_top_and_bottom_stretch.html
diff --git a/tests/generated/align_strech_should_size_based_on_parent.rs b/tests/generated/align_stretch_should_size_based_on_parent.rs
similarity index 98%
rename from tests/generated/align_strech_should_size_based_on_parent.rs
rename to tests/generated/align_stretch_should_size_based_on_parent.rs
index 746767b2f..a2ecb3934 100644
--- a/tests/generated/align_strech_should_size_based_on_parent.rs
+++ b/tests/generated/align_stretch_should_size_based_on_parent.rs
@@ -1,5 +1,5 @@
 #[test]
-fn align_strech_should_size_based_on_parent() {
+fn align_stretch_should_size_based_on_parent() {
     use slotmap::Key;
     #[allow(unused_imports)]
     use taffy::{layout::Layout, prelude::*};
diff --git a/tests/generated/margin_auto_left_and_right_strech.rs b/tests/generated/margin_auto_left_and_right_stretch.rs
similarity index 98%
rename from tests/generated/margin_auto_left_and_right_strech.rs
rename to tests/generated/margin_auto_left_and_right_stretch.rs
index 34daae6aa..d04723555 100644
--- a/tests/generated/margin_auto_left_and_right_strech.rs
+++ b/tests/generated/margin_auto_left_and_right_stretch.rs
@@ -1,5 +1,5 @@
 #[test]
-fn margin_auto_left_and_right_strech() {
+fn margin_auto_left_and_right_stretch() {
     use slotmap::Key;
     #[allow(unused_imports)]
     use taffy::{layout::Layout, prelude::*};
diff --git a/tests/generated/margin_auto_top_and_bottom_strech.rs b/tests/generated/margin_auto_top_and_bottom_stretch.rs
similarity index 98%
rename from tests/generated/margin_auto_top_and_bottom_strech.rs
rename to tests/generated/margin_auto_top_and_bottom_stretch.rs
index a116de818..b044e78cd 100644
--- a/tests/generated/margin_auto_top_and_bottom_strech.rs
+++ b/tests/generated/margin_auto_top_and_bottom_stretch.rs
@@ -1,5 +1,5 @@
 #[test]
-fn margin_auto_top_and_bottom_strech() {
+fn margin_auto_top_and_bottom_stretch() {
     use slotmap::Key;
     #[allow(unused_imports)]
     use taffy::{layout::Layout, prelude::*};
diff --git a/tests/generated/mod.rs b/tests/generated/mod.rs
index 0a7dd7489..2d331fd51 100644
--- a/tests/generated/mod.rs
+++ b/tests/generated/mod.rs
@@ -109,7 +109,7 @@ mod align_self_center;
 mod align_self_flex_end;
 mod align_self_flex_end_override_flex_start;
 mod align_self_flex_start;
-mod align_strech_should_size_based_on_parent;
+mod align_stretch_should_size_based_on_parent;
 mod border_center_child;
 mod border_flex_child;
 mod border_no_child;
@@ -450,7 +450,7 @@ mod margin_auto_left;
 mod margin_auto_left_and_right;
 mod margin_auto_left_and_right_column;
 mod margin_auto_left_and_right_column_and_center;
-mod margin_auto_left_and_right_strech;
+mod margin_auto_left_and_right_stretch;
 mod margin_auto_left_child_bigger_than_parent;
 mod margin_auto_left_fix_right_child_bigger_than_parent;
 mod margin_auto_left_right_child_bigger_than_parent;
@@ -459,7 +459,7 @@ mod margin_auto_mutiple_children_column;
 mod margin_auto_mutiple_children_row;
 mod margin_auto_right;
 mod margin_auto_top;
-mod margin_auto_top_and_bottom_strech;
+mod margin_auto_top_and_bottom_stretch;
 mod margin_auto_top_stretching_child;
 mod margin_bottom;
 mod margin_fix_left_auto_right_child_bigger_than_parent;