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.

Try and fix tests (#17920)

Peter Tripp83192c29e8af
diff --git a/crates/editor/src/editor_tests.rs b/crates/editor/src/editor_tests.rs
index 57471612dbb..6a8efc5905f 100644
--- a/crates/editor/src/editor_tests.rs
+++ b/crates/editor/src/editor_tests.rs
@@ -4131,7 +4131,7 @@ async fn test_rewrap(cx: &mut TestAppContext) {
line_comments: vec!["// ".into(), "/// ".into()],
..LanguageConfig::default()
},
- Some(tree_sitter_rust::language()),
+ Some(tree_sitter_rust::LANGUAGE.into()),
));
cx.update_buffer(|buffer, cx| buffer.set_language(Some(language), cx));