mirror of
https://github.com/loro-dev/loro.git
synced 2025-02-02 02:59:51 +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;
|
||||
let app_state = &mut self[*site as usize].app_state().lock().unwrap();
|
||||
let text = app_state.get_text("text").unwrap();
|
||||
if text.is_empty() {
|
||||
if text.len_unicode() == 0 {
|
||||
*len = 0;
|
||||
*pos = 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue