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. --- modules/gdscript/tests/scripts/parser/features/nested_array.gd | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 modules/gdscript/tests/scripts/parser/features/nested_array.gd (limited to 'modules/gdscript/tests/scripts/parser/features/nested_array.gd') diff --git a/modules/gdscript/tests/scripts/parser/features/nested_array.gd b/modules/gdscript/tests/scripts/parser/features/nested_array.gd new file mode 100644 index 0000000000..3caef96391 --- /dev/null +++ b/modules/gdscript/tests/scripts/parser/features/nested_array.gd @@ -0,0 +1,5 @@ +func test(): + var array = [[[[[[[[[[15]]]]]]]]]] + print(array[0][0][0][0][0][0][0][0]) + print(array[0][0][0][0][0][0][0][0][0]) + print(array[0][0][0][0][0][0][0][0][0][0]) -- cgit v1.2.3