Skip to content

Commit

Permalink
Fix tab compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivorforce committed Sep 25, 2024
1 parent 60c673c commit f582acc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test/project/main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -164,23 +164,23 @@ func _ready():
assert_equal(custom_callable.get_argument_count(), 2)
assert_equal(str(custom_callable), "<MyCallableCustom>");

# Typed packed array
assert_equal(example.test_typed_array_of_packed(), [
# Typed packed array
assert_equal(example.test_typed_array_of_packed(), [
PackedInt32Array([1, 2]),
PackedInt32Array([3, 4])
])

# Packed array handling
var packed_original := PackedByteArray([1, 2])
assert_equal(
example.test_append_to_packed(packed_original),
PackedByteArray([1, 2, 3]),
)
assert_equal(packed_original, PackedByteArray([1, 2]))
example.test_append_to_packed(packed_original),
PackedByteArray([1, 2, 3]),
)
assert_equal(packed_original, PackedByteArray([1, 2]))
assert_equal(
example.test_copy_packed_implicit(),
[PackedInt32Array([1]), PackedInt32Array([1, 2])],
)
example.test_copy_packed_implicit(),
[PackedInt32Array([1]), PackedInt32Array([1, 2])],
)

# PackedArray iterators
assert_equal(example.test_vector_ops(), 105)
Expand Down

0 comments on commit f582acc

Please sign in to comment.