Update terminal test to reflect new text insertion approach

This commit is contained in:
Max Brunsfeld 2022-07-25 12:21:26 -07:00
parent ab037fe844
commit 13097ea110

View file

@ -305,17 +305,15 @@ mod test {
}
#[test]
fn test_multi_char_fallthrough() {
fn test_plain_inputs() {
let ks = Keystroke {
ctrl: false,
alt: false,
shift: false,
cmd: false,
key: "🖖🏻".to_string(), //2 char string
};
assert_eq!(to_esc_str(&ks, &TermMode::NONE), Some("🖖🏻".to_string()));
assert_eq!(to_esc_str(&ks, &TermMode::NONE), None);
}
#[test]