Skip to content

Commit

Permalink
fixup! fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tailhook committed May 12, 2020
1 parent f264480 commit e31a4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fn complete_line() {
let keys = vec![KeyPress::Enter];
let mut rdr: IntoIter<KeyPress> = keys.into_iter();
let cmd = super::complete_line(&mut rdr, &mut s, &mut input_state, &Config::default()).unwrap();
assert_eq!(Some(Cmd::AcceptLine), cmd);
assert_eq!(Some(Cmd::AcceptOrInsertLine { accept_in_the_middle: true }), cmd);
assert_eq!("rust", s.line.as_str());
assert_eq!(4, s.line.pos());
}
Expand Down

0 comments on commit e31a4fd

Please sign in to comment.