mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-11 06:42:21 +00:00
test: fix fuzz test config
This commit is contained in:
parent
9477717e3e
commit
6a2d0f8fef
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ impl Actionable for Vec<LoroDoc> {
|
||||||
*site %= self.len() as u8;
|
*site %= self.len() as u8;
|
||||||
let app_state = &mut self[*site as usize].app_state().lock().unwrap();
|
let app_state = &mut self[*site as usize].app_state().lock().unwrap();
|
||||||
let text = app_state.get_text("text").unwrap();
|
let text = app_state.get_text("text").unwrap();
|
||||||
if text.is_empty() {
|
if text.len_unicode() == 0 {
|
||||||
*len = 0;
|
*len = 0;
|
||||||
*pos = 0;
|
*pos = 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue