Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarumych committed Nov 8, 2023
1 parent d66006d commit 088e92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ fn test_ref_in_enum() {

let mut buffer = [0u8; 256];
let size = serialize::<[Test], _>([&value], &mut buffer).unwrap();
let data = deserialize::<[Test], Vec<Test>>(&buffer[..size.0]).unwrap();
let data = deserialize_with_size::<[Test], Vec<Test>>(&buffer[..size.0], size.1).unwrap();

assert_eq!(data, [value]);
}
Expand Down

0 comments on commit 088e92c

Please sign in to comment.