From 13097ea1106e077e813b75b653a2930970744e2f Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Mon, 25 Jul 2022 12:21:26 -0700 Subject: [PATCH] Update terminal test to reflect new text insertion approach --- crates/terminal/src/mappings/keys.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/terminal/src/mappings/keys.rs b/crates/terminal/src/mappings/keys.rs index 93fd7b3454..f88bfa927a 100644 --- a/crates/terminal/src/mappings/keys.rs +++ b/crates/terminal/src/mappings/keys.rs @@ -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]