From c0083c0f90238f0eec01604dd9c952c8c5dc3c22 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 19 Apr 2021 20:50:52 +0200 Subject: Add dozens of new integration tests to the GDScript test suite This also ignores `.out` files in the file format static checks. --- .../tests/scripts/parser/warnings/shadowed_variable_function.out | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out (limited to 'modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out') diff --git a/modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out b/modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out new file mode 100644 index 0000000000..26ce0465b1 --- /dev/null +++ b/modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_function.out @@ -0,0 +1,9 @@ +GDTEST_OK +>> WARNING +>> Line: 2 +>> UNUSED_VARIABLE +>> The local variable 'test' is declared but never used in the block. If this is intended, prefix it with an underscore: '_test' +>> WARNING +>> Line: 2 +>> SHADOWED_VARIABLE +>> The local variable "test" is shadowing an already-declared function at line 1. -- cgit v1.2.3