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. --- .../tests/scripts/analyzer/errors/bitwise_float_right_operand.gd | 2 +- .../tests/scripts/analyzer/errors/bitwise_float_right_operand.out | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/gdscript/tests/scripts/analyzer/errors') diff --git a/modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.gd b/modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.gd index 4502960105..0a4f647f57 100644 --- a/modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.gd +++ b/modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.gd @@ -1,3 +1,3 @@ func test(): # Error here. - print(2 << 4.4) + print(2 >> 4.4) diff --git a/modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.out b/modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.out index 1879fc1adf..1edbf47ec0 100644 --- a/modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.out +++ b/modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.out @@ -1,2 +1,2 @@ GDTEST_ANALYZER_ERROR -Invalid operands to operator <<, int and float. +Invalid operands to operator >>, int and float. -- cgit v1.2.3