summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-05-23 21:32:19 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-05-23 21:32:19 +0200
commit9923851370073ceda72c4f4f7414444742c27562 (patch)
treeb5f112fc5ac4b279788acbac43f378882510fb0f /tests
parentad8c50a49c942333b80a6b0a961c2f9b0c986712 (diff)
Fix typos with codespell
Using codespell 2.2-dev from current git.
Diffstat (limited to 'tests')
-rw-r--r--tests/scene/test_text_edit.h8
-rw-r--r--tests/test_macros.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/scene/test_text_edit.h b/tests/scene/test_text_edit.h
index a9a1a5fa71..4098dd7ace 100644
--- a/tests/scene/test_text_edit.h
+++ b/tests/scene/test_text_edit.h
@@ -1395,7 +1395,7 @@ TEST_CASE("[SceneTree][TextEdit] text entry") {
SIGNAL_DISCARD("lines_edited_from");
SIGNAL_DISCARD("caret_changed");
- // With selection should be a normal backsapce.
+ // With selection should be a normal backspace.
((Array)lines_edited_args[0])[0] = 1;
((Array)lines_edited_args[0])[1] = 1;
@@ -1469,7 +1469,7 @@ TEST_CASE("[SceneTree][TextEdit] text entry") {
SIGNAL_DISCARD("lines_edited_from");
SIGNAL_DISCARD("caret_changed");
- // With selection should be a normal backsapce.
+ // With selection should be a normal backspace.
((Array)lines_edited_args[0])[0] = 1;
((Array)lines_edited_args[0])[1] = 1;
@@ -1542,7 +1542,7 @@ TEST_CASE("[SceneTree][TextEdit] text entry") {
SIGNAL_DISCARD("lines_edited_from");
SIGNAL_DISCARD("caret_changed");
- // With selection should be a normal backsapce.
+ // With selection should be a normal backspace.
((Array)lines_edited_args[0])[0] = 1;
((Array)lines_edited_args[0])[1] = 1;
@@ -2784,7 +2784,7 @@ TEST_CASE("[SceneTree][TextEdit] line wrapping") {
SceneTree::get_singleton()->get_root()->add_child(text_edit);
text_edit->grab_focus();
- // Set size for boundry.
+ // Set size for boundary.
text_edit->set_size(Size2(800, 200));
text_edit->set_line(0, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec varius mattis leo, sed porta ex lacinia bibendum. Nunc bibendum pellentesque.");
CHECK_FALSE(text_edit->is_line_wrapped(0));
diff --git a/tests/test_macros.h b/tests/test_macros.h
index 778ba36517..6029a9cfc7 100644
--- a/tests/test_macros.h
+++ b/tests/test_macros.h
@@ -196,7 +196,7 @@ int register_test_command(String p_command, TestFunc p_function);
MessageQueue::get_singleton()->flush(); \
}
-// We toogle _print_error_enabled to prevent display server not supported warnings.
+// We toggle _print_error_enabled to prevent display server not supported warnings.
#define SEND_GUI_MOUSE_MOTION_EVENT(m_object, m_local_pos, m_mask, m_modifers) \
{ \
bool errors_enabled = _print_error_enabled; \