Unify spelling of key binding
to be two words
This commit is contained in:
parent
bd85ef363f
commit
9d88cd8842
3 changed files with 7 additions and 7 deletions
|
@ -150,7 +150,7 @@ mod tests {
|
||||||
|
|
||||||
// Test loading the keymap base at all
|
// Test loading the keymap base at all
|
||||||
cx.update(|cx| {
|
cx.update(|cx| {
|
||||||
assert_keybindings_for(
|
assert_key_bindings_for(
|
||||||
cx,
|
cx,
|
||||||
vec![("backspace", &A), ("k", &ActivatePreviousPane)],
|
vec![("backspace", &A), ("k", &ActivatePreviousPane)],
|
||||||
line!(),
|
line!(),
|
||||||
|
@ -178,7 +178,7 @@ mod tests {
|
||||||
cx.foreground().run_until_parked();
|
cx.foreground().run_until_parked();
|
||||||
|
|
||||||
cx.update(|cx| {
|
cx.update(|cx| {
|
||||||
assert_keybindings_for(
|
assert_key_bindings_for(
|
||||||
cx,
|
cx,
|
||||||
vec![("backspace", &B), ("k", &ActivatePreviousPane)],
|
vec![("backspace", &B), ("k", &ActivatePreviousPane)],
|
||||||
line!(),
|
line!(),
|
||||||
|
@ -202,7 +202,7 @@ mod tests {
|
||||||
cx.foreground().run_until_parked();
|
cx.foreground().run_until_parked();
|
||||||
|
|
||||||
cx.update(|cx| {
|
cx.update(|cx| {
|
||||||
assert_keybindings_for(
|
assert_key_bindings_for(
|
||||||
cx,
|
cx,
|
||||||
vec![("backspace", &B), ("[", &ActivatePrevItem)],
|
vec![("backspace", &B), ("[", &ActivatePrevItem)],
|
||||||
line!(),
|
line!(),
|
||||||
|
@ -210,7 +210,7 @@ mod tests {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
fn assert_keybindings_for<'a>(
|
fn assert_key_bindings_for<'a>(
|
||||||
cx: &mut MutableAppContext,
|
cx: &mut MutableAppContext,
|
||||||
actions: Vec<(&'static str, &'a dyn Action)>,
|
actions: Vec<(&'static str, &'a dyn Action)>,
|
||||||
line: u32,
|
line: u32,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue