summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorluz paz <luzpaz@users.noreply.github.com>2022-01-02 13:47:52 -0500
committerluz paz <luzpaz@users.noreply.github.com>2022-01-13 23:20:01 -0500
commit858bcd50587c6e2effbd1173ce61656d6a3f343b (patch)
tree811244bf0cba9cdb6c5795034c097d94e2e5d1e0 /tests
parentd13c3c92965980aacbf94007d94a56aa92ebbb4e (diff)
Fix various typos
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
Diffstat (limited to 'tests')
-rw-r--r--tests/core/math/test_math.cpp2
-rw-r--r--tests/scene/test_code_edit.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/core/math/test_math.cpp b/tests/core/math/test_math.cpp
index 7b1f3af2b9..a24a8fde2b 100644
--- a/tests/core/math/test_math.cpp
+++ b/tests/core/math/test_math.cpp
@@ -308,7 +308,7 @@ public:
curly_stack++;
break;
} else {
- break; //whathever else
+ break; //whatever else
}
}
diff --git a/tests/scene/test_code_edit.h b/tests/scene/test_code_edit.h
index 52d3d5c340..be6e796da8 100644
--- a/tests/scene/test_code_edit.h
+++ b/tests/scene/test_code_edit.h
@@ -3220,7 +3220,7 @@ TEST_CASE("[SceneTree][CodeEdit] Backspace delete") {
code_edit->backspace();
CHECK(code_edit->get_line(0) == "backspace");
- /* Move caret up to the previous line on backspace if carret is at the first column. */
+ /* Move caret up to the previous line on backspace if caret is at the first column. */
code_edit->set_text("");
code_edit->insert_text_at_caret("line 1\nline 2");
code_edit->set_caret_line(1);