diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2023-03-03 17:42:32 +0300 |
---|---|---|
committer | Danil Alexeev <danil@alexeev.xyz> | 2023-03-05 17:03:20 +0300 |
commit | ea5fd3d732a85029e8372425904971ad26153ff1 (patch) | |
tree | 0ce81c0016d8f3840c22e9bf2d1be2bdd47140ea /modules/gdscript/tests/scripts/parser | |
parent | 61d2c855114c824f5ca27ded0a1fa71cc7b21134 (diff) | |
download | redot-engine-ea5fd3d732a85029e8372425904971ad26153ff1.tar.gz |
Fix GDScript code style regarding colon
Diffstat (limited to 'modules/gdscript/tests/scripts/parser')
-rw-r--r-- | modules/gdscript/tests/scripts/parser/features/static_typing.gd | 2 | ||||
-rw-r--r-- | modules/gdscript/tests/scripts/parser/features/static_typing.out | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/modules/gdscript/tests/scripts/parser/features/static_typing.gd b/modules/gdscript/tests/scripts/parser/features/static_typing.gd index d42632c82d..0157ca2128 100644 --- a/modules/gdscript/tests/scripts/parser/features/static_typing.gd +++ b/modules/gdscript/tests/scripts/parser/features/static_typing.gd @@ -1,3 +1,5 @@ +# Do not fix code style here! + func test(): # The following lines are equivalent: var _integer: int = 1 diff --git a/modules/gdscript/tests/scripts/parser/features/static_typing.out b/modules/gdscript/tests/scripts/parser/features/static_typing.out index 92ce7bc0e0..207d90fef1 100644 --- a/modules/gdscript/tests/scripts/parser/features/static_typing.out +++ b/modules/gdscript/tests/scripts/parser/features/static_typing.out @@ -1,21 +1,21 @@ GDTEST_OK >> WARNING ->> Line: 9 +>> Line: 11 >> UNUSED_LOCAL_CONSTANT >> The local constant '_INTEGER' is declared but never used in the block. If this is intended, prefix it with an underscore: '__INTEGER' >> WARNING ->> Line: 10 +>> Line: 12 >> UNUSED_LOCAL_CONSTANT >> The local constant '_INTEGER_REDUNDANT_TYPED' is declared but never used in the block. If this is intended, prefix it with an underscore: '__INTEGER_REDUNDANT_TYPED' >> WARNING ->> Line: 11 +>> Line: 13 >> UNUSED_LOCAL_CONSTANT >> The local constant '_INTEGER_REDUNDANT_TYPED2' is declared but never used in the block. If this is intended, prefix it with an underscore: '__INTEGER_REDUNDANT_TYPED2' >> WARNING ->> Line: 12 +>> Line: 14 >> UNUSED_LOCAL_CONSTANT >> The local constant '_INTEGER_REDUNDANT_INFERRED' is declared but never used in the block. If this is intended, prefix it with an underscore: '__INTEGER_REDUNDANT_INFERRED' >> WARNING ->> Line: 13 +>> Line: 15 >> UNUSED_LOCAL_CONSTANT >> The local constant '_INTEGER_REDUNDANT_INFERRED2' is declared but never used in the block. If this is intended, prefix it with an underscore: '__INTEGER_REDUNDANT_INFERRED2' |