fix Bytearray from table constructor

This commit is contained in:
MihailRis
2025-06-28 21:33:49 +03:00
parent b3a5ea8e06
commit d9d65a169c
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -25,3 +25,6 @@ end
print(#arr, arr:get_capacity())
arr:trim()
assert(#arr == arr:get_capacity())
arr = Bytearray({0, 2, 7, 1, 16, 75, 25})
assert(arr[6] == 75)