Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix wrong assertion in the test

Kirill Bulatov5bc5831032a8
diff --git a/crates/editor/src/editor_tests.rs b/crates/editor/src/editor_tests.rs
index d44b8728fd6..ad97639d0ba 100644
--- a/crates/editor/src/editor_tests.rs
+++ b/crates/editor/src/editor_tests.rs
@@ -7780,7 +7780,7 @@ async fn test_completions_in_languages_with_extra_word_characters(cx: &mut gpui:
if let Some(ContextMenu::Completions(menu)) = &editor.context_menu {
assert_eq!(
menu.matches.iter().map(|m| &m.string).collect::<Vec<_>>(),
- &["bg-blue", "bg-yellow"]
+ &["bg-yellow"]
);
} else {
panic!("expected completion menu to be open");