Fix editor-test
This commit is contained in:
parent
3135122f6b
commit
2b991129e3
1 changed files with 4 additions and 1 deletions
|
|
@ -101,7 +101,10 @@ fn main() {
|
||||||
for c in grapheme.chars() {
|
for c in grapheme.chars() {
|
||||||
editor.action(Action::Insert(c));
|
editor.action(Action::Insert(c));
|
||||||
}
|
}
|
||||||
assert_eq!(cursor, editor.cursor());
|
assert_eq!(
|
||||||
|
(cursor.line, cursor.index),
|
||||||
|
(editor.cursor().line, editor.cursor().index)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue