chore: modify fuzz

This commit is contained in:
leeeon233 2022-12-13 23:01:17 +08:00
parent 86b65ec638
commit b2c3010454

View file

@ -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);
} }