summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/analyzer/features/hard_variants.gd
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-28 17:01:19 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-28 17:01:19 +0100
commit218bef90af2091afde3b1be816c87286c194a2a8 (patch)
tree8fe3855e2245a99400532bbedd37cf9f9c0c7c7f /modules/gdscript/tests/scripts/analyzer/features/hard_variants.gd
parent3a25148b9bf1ab07549a18cc6f7691052d576c69 (diff)
GDScript: Fix test from #69163 after annotations change
Diffstat (limited to 'modules/gdscript/tests/scripts/analyzer/features/hard_variants.gd')
-rw-r--r--modules/gdscript/tests/scripts/analyzer/features/hard_variants.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/tests/scripts/analyzer/features/hard_variants.gd b/modules/gdscript/tests/scripts/analyzer/features/hard_variants.gd
index 211115d9cb..48a804ff54 100644
--- a/modules/gdscript/tests/scripts/analyzer/features/hard_variants.gd
+++ b/modules/gdscript/tests/scripts/analyzer/features/hard_variants.gd
@@ -11,7 +11,7 @@ func param_inferred(param := variant()) -> void: print(param)
func return_untyped(): return variant()
func return_typed() -> Variant: return variant()
-@warning_ignore(unused_variable)
+@warning_ignore("unused_variable")
func test() -> void:
var weak = variant()
var typed: Variant = variant()