mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-06 12:25:03 +00:00
test: update snapshot test
This commit is contained in:
parent
d3f921bae0
commit
7cb6691cef
1 changed files with 3 additions and 1 deletions
|
@ -328,7 +328,9 @@ mod test {
|
|||
},
|
||||
ListOp::Delete(DeleteSpan::new(0, 3)),
|
||||
];
|
||||
let list_op_buf = vec![2, 0, 2, 0, 0, 1, 0, 6];
|
||||
// let vec = postcard::to_allocvec(&list_op);
|
||||
// dbg!(&vec);
|
||||
let list_op_buf = vec![2, 0, 3, 0, 0, 1, 0, 6];
|
||||
assert_eq!(
|
||||
postcard::from_bytes::<Vec<ListOp>>(&list_op_buf).unwrap(),
|
||||
list_op
|
||||
|
|
Loading…
Reference in a new issue