summaryrefslogtreecommitdiffstats
path: root/tests/scene
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-08-07 12:59:23 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-08-07 13:09:47 +0200
commitfaaf27f28492650cf8bfb71328ab21ab934d0dd7 (patch)
tree76bca66b31aa174b9fa54041cd036d3b26249165 /tests/scene
parent16a93563bfd3b02ca0a8f6df2026f3a3217f5571 (diff)
downloadredot-engine-faaf27f28492650cf8bfb71328ab21ab934d0dd7.tar.gz
Fix various typos with codespell
Also includes typo fixes from #79993, #80068, #80276, and #80303. Co-authored-by: betalars <contact@betalars.de> Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com> Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com> Co-authored-by: Raul Santos <raulsntos@gmail.com>
Diffstat (limited to 'tests/scene')
-rw-r--r--tests/scene/test_text_edit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scene/test_text_edit.h b/tests/scene/test_text_edit.h
index 345e617285..8cfb189370 100644
--- a/tests/scene/test_text_edit.h
+++ b/tests/scene/test_text_edit.h
@@ -407,7 +407,7 @@ TEST_CASE("[SceneTree][TextEdit] text entry") {
CHECK(text_edit->get_selection_to_line() == 1);
SIGNAL_CHECK("caret_changed", empty_signal_args);
- // insert before should move caret and selecion, and works when not editable.
+ // Insert before should move caret and selection, and works when not editable.
text_edit->set_editable(false);
lines_edited_args.remove_at(0);
text_edit->insert_line_at(0, "new");
@@ -424,7 +424,7 @@ TEST_CASE("[SceneTree][TextEdit] text entry") {
SIGNAL_CHECK_FALSE("text_set");
text_edit->set_editable(true);
- // can undo/redo as single action
+ // Can undo/redo as single action.
((Array)lines_edited_args[0])[0] = 1;
((Array)lines_edited_args[0])[1] = 0;
text_edit->undo();