mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-22 21:07:43 +00:00
fix: delete list event hint assert (#289)
This commit is contained in:
parent
da782c7659
commit
1db510104e
1 changed files with 2 additions and 1 deletions
|
@ -495,7 +495,8 @@ fn change_to_diff(
|
|||
match &hint {
|
||||
EventHint::InsertText { .. }
|
||||
| EventHint::InsertList { .. }
|
||||
| EventHint::DeleteText { .. } => {}
|
||||
| EventHint::DeleteText { .. }
|
||||
| EventHint::DeleteList(_) => {}
|
||||
_ => {
|
||||
assert_eq!(ops.len(), 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue