summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-31 13:20:00 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-31 13:20:00 +0100
commite768e02b789d2d0afbbc4f775d8cd8e807b1d79c (patch)
tree5da3b5ee06127d84e7eb652ed8e3867ce3eadfd8 /modules/gdscript/tests
parent7665497261e908052a74fc839f348b22f724d12c (diff)
parent1bbe0a2b2f612875c9bda4b0bb23fcefc23ff9e4 (diff)
Merge pull request #72444 from reduz/fix-global-class-parsing
Fix global script class parsing.
Diffstat (limited to 'modules/gdscript/tests')
-rw-r--r--modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd b/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd
index 0085b3f367..2470fe978e 100644
--- a/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd
+++ b/modules/gdscript/tests/scripts/parser/errors/class_name_after_annotation.gd
@@ -1,5 +1,5 @@
# Error here. Annotations should be used before `class_name`, not after.
-class_name HelloWorld
+class_name WrongAnnotationPlace
@icon("res://path/to/optional/icon.svg")
func test():