mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-11 14:53:12 +00:00
chore: modify fuzz
This commit is contained in:
parent
86b65ec638
commit
b2c3010454
1 changed files with 2 additions and 1 deletions
|
@ -309,7 +309,8 @@ pub fn test_single_client_encode(mut actions: Vec<Action>) {
|
||||||
LoroCore::decode_snapshot(&encode_bytes, None, crate::configure::Configure::default());
|
LoroCore::decode_snapshot(&encode_bytes, None, crate::configure::Configure::default());
|
||||||
let encode_bytes2 = store2.encode_snapshot();
|
let encode_bytes2 = store2.encode_snapshot();
|
||||||
let json2 = store2.to_json();
|
let json2 = store2.to_json();
|
||||||
assert_eq!(encode_bytes, encode_bytes2);
|
// state encode will change mergable range
|
||||||
|
// assert_eq!(encode_bytes, encode_bytes2);
|
||||||
assert_eq!(json1, json2);
|
assert_eq!(json1, json2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue