diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-09-15 19:09:34 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-09-15 19:57:39 +0200 |
commit | c6ca09dc6f0fdf693c2a4445e556861691a81152 (patch) | |
tree | 486146583022e3bf72af033e21f13d6311856fd9 /modules/gdscript/tests/scripts/analyzer/errors | |
parent | 520462e98c15ef583f24ea39fb874a388d377b1c (diff) |
Add more integration tests to the GDScript test suite
This also fixes a typo in the `bitwise_float_right_operand.gd` test.
Diffstat (limited to 'modules/gdscript/tests/scripts/analyzer/errors')
-rw-r--r-- | modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.gd | 2 | ||||
-rw-r--r-- | modules/gdscript/tests/scripts/analyzer/errors/bitwise_float_right_operand.out | 2 |
2 files changed, 2 insertions, 2 deletions
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. |