Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix test
Conrad Irwinf8bc9be2841d
diff --git a/crates/gpui2/src/keymap/context.rs b/crates/gpui2/src/keymap/context.rsindex 99a95531a26..b9cb0384ecc 100644--- a/crates/gpui2/src/keymap/context.rs+++ b/crates/gpui2/src/keymap/context.rs@@ -312,15 +312,15 @@ mod tests {#[test]fn test_parse_context() {let mut expected = KeyContext::default();- expected.set("foo", "bar");expected.add("baz");+ expected.set("foo", "bar");assert_eq!(KeyContext::parse("baz foo=bar").unwrap(), expected);- assert_eq!(KeyContext::parse("foo = bar baz").unwrap(), expected);+ assert_eq!(KeyContext::parse("baz foo = bar").unwrap(), expected);assert_eq!(KeyContext::parse(" baz foo = bar baz").unwrap(),expected);- assert_eq!(KeyContext::parse(" foo = bar baz").unwrap(), expected);+ assert_eq!(KeyContext::parse(" baz foo = bar").unwrap(), expected);}#[test]