mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Fix wrong assertion in the test
This commit is contained in:
parent
292af55ebc
commit
5bc5831032
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user