Fix wrong assertion in the test

This commit is contained in:
Kirill Bulatov 2023-08-31 14:31:43 +03:00
parent 292af55ebc
commit 5bc5831032

View File

@ -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 { if let Some(ContextMenu::Completions(menu)) = &editor.context_menu {
assert_eq!( assert_eq!(
menu.matches.iter().map(|m| &m.string).collect::<Vec<_>>(), menu.matches.iter().map(|m| &m.string).collect::<Vec<_>>(),
&["bg-blue", "bg-yellow"] &["bg-yellow"]
); );
} else { } else {
panic!("expected completion menu to be open"); panic!("expected completion menu to be open");