From c6ca09dc6f0fdf693c2a4445e556861691a81152 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 15 Sep 2021 19:09:34 +0200 Subject: Add more integration tests to the GDScript test suite This also fixes a typo in the `bitwise_float_right_operand.gd` test. --- modules/gdscript/tests/scripts/parser/features/lambda_callable.gd | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 modules/gdscript/tests/scripts/parser/features/lambda_callable.gd (limited to 'modules/gdscript/tests/scripts/parser/features/lambda_callable.gd') diff --git a/modules/gdscript/tests/scripts/parser/features/lambda_callable.gd b/modules/gdscript/tests/scripts/parser/features/lambda_callable.gd new file mode 100644 index 0000000000..c3b2506156 --- /dev/null +++ b/modules/gdscript/tests/scripts/parser/features/lambda_callable.gd @@ -0,0 +1,4 @@ +func test(): + var my_lambda = func(x): + print(x) + my_lambda.call("hello") -- cgit v1.2.3