mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-06 04:19:34 +00:00
fix: check err
This commit is contained in:
parent
687fd45f61
commit
6a8087c756
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ impl<'a, T: Rle, A: RleTreeTrait<T>> InternalNode<'a, T, A> {
|
|||
|
||||
#[cfg(test)]
|
||||
pub(crate) fn check(&mut self) {
|
||||
if self.is_root() {
|
||||
if !self.is_root() {
|
||||
assert!(
|
||||
self.children.len() >= A::MIN_CHILDREN_NUM,
|
||||
"children.len() = {}",
|
||||
|
|
Loading…
Reference in a new issue