diff options
Diffstat (limited to 'tests/core/templates/test_list.h')
-rw-r--r-- | tests/core/templates/test_list.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/core/templates/test_list.h b/tests/core/templates/test_list.h index 6d95cca150..835be268e8 100644 --- a/tests/core/templates/test_list.h +++ b/tests/core/templates/test_list.h @@ -441,15 +441,15 @@ TEST_CASE("[List] Swap middle (values check)") { List<String>::Element *n_str1 = list.push_back("Still"); List<String>::Element *n_str2 = list.push_back("waiting"); List<String>::Element *n_str3 = list.push_back("for"); - List<String>::Element *n_str4 = list.push_back("Godot."); + List<String>::Element *n_str4 = list.push_back("Redot."); CHECK(n_str1->get() == "Still"); - CHECK(n_str4->get() == "Godot."); + CHECK(n_str4->get() == "Redot."); CHECK(list.front()->get() == "Still"); CHECK(list.front()->next()->get() == "waiting"); CHECK(list.back()->prev()->get() == "for"); - CHECK(list.back()->get() == "Godot."); + CHECK(list.back()->get() == "Redot."); list.swap(n_str2, n_str3); @@ -459,18 +459,18 @@ TEST_CASE("[List] Swap middle (values check)") { TEST_CASE("[List] Swap front and back (values check)") { List<Variant> list; - Variant str = "Godot"; + Variant str = "Redot"; List<Variant>::Element *n_str = list.push_back(str); Variant color = Color(0, 0, 1); List<Variant>::Element *n_color = list.push_back(color); - CHECK(list.front()->get() == "Godot"); + CHECK(list.front()->get() == "Redot"); CHECK(list.back()->get() == Color(0, 0, 1)); list.swap(n_str, n_color); CHECK(list.front()->get() == Color(0, 0, 1)); - CHECK(list.back()->get() == "Godot"); + CHECK(list.back()->get() == "Redot"); } TEST_CASE("[List] Swap adjacent back and front (reverse order of elements)") { |