From 83192c29e8affeac98ba29b6850c98f1af9ff993 Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Mon, 16 Sep 2024 23:16:08 -0400 Subject: [PATCH] Try and fix tests (#17920) Tests on main started breaking following https://github.com/zed-industries/zed/commit/bc5ed1334ff019e026cbf7a6bbad4a8c2c5d68df from: - https://github.com/zed-industries/zed/pull/17734 First breakage: https://github.com/zed-industries/zed/actions/runs/10894059586/job/30230118999 --- crates/editor/src/editor_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/editor_tests.rs b/crates/editor/src/editor_tests.rs index 57471612db..6a8efc5905 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));