// Single selection with a length greather than 1: only search for the selection
test_key_sequence(
&muthelpers::AppBuilder::new().build()?,
Some("ifoobar::baz<esc>3blvll*"),// 3b places the cursor on the first letter of 'foobar', then move one to the right for good measure, then select two more chars for a total of three
Some(&|app|{
assert!(
r#"register '/' set to 'oob'"#==app.editor.get_status().unwrap().0
// Multiple selection of length 1 each : should still only search for the selection
test_key_sequence(
&muthelpers::AppBuilder::new().build()?,
Some("ifoobar::baz<ret>bar::crux<esc>k3blC*"),// k3b places the cursor on the first letter of 'foobar', then move one to the right for good measure, then adds a cursor on the line below
Some(&|app|{
assert!(
// The selections don't seem to be ordered, so we have to test for the two possible orders.
(r#"register '/' set to 'o|a'"#==app.editor.get_status().unwrap().0
||r#"register '/' set to 'a|o'"#==app.editor.get_status().unwrap().0)