diff options
author | Joe Wilm <joe@jwilm.com> | 2016-10-16 11:16:29 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-10-16 11:16:29 -0700 |
commit | ea07f03ac901c366ed31da540711b84ca9e75602 (patch) | |
tree | 3394da96e2487e9b061bb9eb66633a2e759eff48 /src/input.rs | |
parent | d4c1d51e36626b1682b96e746bb32632dadcac2c (diff) | |
download | alacritty-ea07f03ac901c366ed31da540711b84ca9e75602.tar.gz alacritty-ea07f03ac901c366ed31da540711b84ca9e75602.zip |
Add test exhibiting SIGBUS on my machine
Diffstat (limited to 'src/input.rs')
-rw-r--r-- | src/input.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/input.rs b/src/input.rs index 6fb722d0..da061449 100644 --- a/src/input.rs +++ b/src/input.rs @@ -483,4 +483,17 @@ mod tests { mode: mode::NONE, mods: mods::SUPER | mods::ALT } + + test_process_binding! { + name: process_binding_with_mods_none, + binding: Binding { mods: mods::NONE, action: Action::Char('v'), mode: mode::ANY, notmode: mode::NONE }, + expect: Some(String::from("v")), + mode: mode::NONE, + mods: mods::NONE + } + + #[test] + fn print_v_bindings() { + println!("{:#?}", super::V_BINDINGS); + } } |