Commit ec9acced authored by Sag0Sag0's avatar Sag0Sag0

Fixed merge error

parent 2d0c0f98
......@@ -3728,7 +3728,7 @@ mod tests {
fn repeat_char_move_no_char() {
let mut context = Context::new();
let out = Vec::new();
let ed = Editor::new(out, "prompt".to_owned(), &mut context).unwrap();
let ed = Editor::new(out, "prompt".to_owned(), Box::new(|s| s.into()), &mut context).unwrap();
let mut map = Vi::new(ed);
map.ed.insert_str_after_cursor("abc defg").unwrap();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment