Skip to content

Commit ef18e1d

Browse files
fixed unit test typo
1 parent 5f635d8 commit ef18e1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/gdscript/gdscript_warning.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class GDScriptWarning {
149149
ERROR, // GET_NODE_DEFAULT_WITHOUT_ONREADY // May not work as expected.
150150
ERROR, // ONREADY_WITH_EXPORT // May not work as expected.
151151
WARN, // OVERRIDE_NON_VIRTUAL_METHOD
152-
WARN, // OVERRIDE_WITHOUT_OVERRIDE_ANNOATION
152+
WARN, // OVERRIDE_WITHOUT_OVERRIDE_ANNOTATION
153153
#ifndef DISABLE_DEPRECATED
154154
WARN, // PROPERTY_USED_AS_FUNCTION
155155
WARN, // CONSTANT_USED_AS_FUNCTION
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
GDTEST_OK
22
~~ WARNING at line 10: (OVERRIDE_NON_VIRTUAL_METHOD) The method "test()" overrides a non-virtual method from the base class. This may cause unexpected and unsafe behaviors.
3-
~~ WARNING at line 14: (OVERRIDE_WITHOUT_OVERRIDE_ANNOATION) The method "test()" overrides a virtual method from the base class without the "@override" annotation. Annotating the method with the annotation can better help you understand and clarify the code structure.
3+
~~ WARNING at line 14: (OVERRIDE_WITHOUT_OVERRIDE_ANNOTATION) The method "test()" overrides a virtual method from the base class without the "@override" annotation. Annotating the method with the annotation can better help you understand and clarify the code structure.

0 commit comments

Comments
 (0)