Преглед изворни кода

GDScript: Fix failing tests due to collision with #99490 formatting change

Rémi Verschelde пре 10 месеци
родитељ
комит
682c5c7d49

+ 1 - 1
modules/gdscript/tests/scripts/analyzer/errors/enum_builtin_access.out

@@ -1,2 +1,2 @@
 GDTEST_ANALYZER_ERROR
-Type "Axis" in base "Vector3" cannot be used on its own.
+>> ERROR at line 2: Type "Axis" in base "Vector3" cannot be used on its own.

+ 1 - 1
modules/gdscript/tests/scripts/analyzer/errors/enum_global_access.out

@@ -1,2 +1,2 @@
 GDTEST_ANALYZER_ERROR
-Type "Operator" in base "Variant" cannot be used on its own.
+>> ERROR at line 2: Type "Operator" in base "Variant" cannot be used on its own.

+ 1 - 1
modules/gdscript/tests/scripts/analyzer/errors/enum_native_access.out

@@ -1,2 +1,2 @@
 GDTEST_ANALYZER_ERROR
-Type "ProcessMode" in base "Node" cannot be used on its own.
+>> ERROR at line 2: Type "ProcessMode" in base "Node" cannot be used on its own.

+ 2 - 5
modules/gdscript/tests/scripts/runtime/errors/division_by_zero.out

@@ -1,6 +1,3 @@
 GDTEST_RUNTIME_ERROR
->> SCRIPT ERROR
->> on function: test()
->> runtime/errors/division_by_zero.gd
->> 3
->> Division by zero error in operator '/'.
+~~ WARNING at line 2: (UNUSED_VARIABLE) The local variable "integer" is declared but never used in the block. If this is intended, prefix it with an underscore: "_integer".
+>> SCRIPT ERROR at runtime/errors/division_by_zero.gd:3 on test(): Division by zero error in operator '/'.

+ 2 - 5
modules/gdscript/tests/scripts/runtime/errors/modulo_by_zero.out

@@ -1,6 +1,3 @@
 GDTEST_RUNTIME_ERROR
->> SCRIPT ERROR
->> on function: test()
->> runtime/errors/modulo_by_zero.gd
->> 3
->> Modulo by zero error in operator '%'.
+~~ WARNING at line 2: (UNUSED_VARIABLE) The local variable "integer" is declared but never used in the block. If this is intended, prefix it with an underscore: "_integer".
+>> SCRIPT ERROR at runtime/errors/modulo_by_zero.gd:3 on test(): Modulo by zero error in operator '%'.