Skip to content

Commit 05a1b09

Browse files
authored
Merge pull request #507 from kuruk-mm/fix/packed-array-tests
Fix packed array tests
2 parents cf16a91 + 01d01e5 commit 05a1b09

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

itest/rust/src/builtin_tests/containers/packed_array_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fn packed_array_from() {
3838
#[itest]
3939
fn packed_array_to_vec() {
4040
let array = PackedByteArray::new();
41-
assert_eq!(array.to_vec(), vec![]);
41+
assert_eq!(array.to_vec(), Vec::<u8>::new());
4242
let array = PackedByteArray::from(&[1, 2]);
4343
assert_eq!(array.to_vec(), vec![1, 2]);
4444
}

itest/rust/src/builtin_tests/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ mod containers {
2020
mod array_test;
2121
mod callable_test;
2222
mod dictionary_test;
23+
mod packed_array_test;
2324
mod rid_test;
2425
mod signal_test;
2526
mod variant_test;

0 commit comments

Comments
 (0)