Try and fix tests (#17920)

Tests on main started breaking following
bc5ed1334f
from:
- https://github.com/zed-industries/zed/pull/17734

First breakage:
https://github.com/zed-industries/zed/actions/runs/10894059586/job/30230118999
This commit is contained in:
Peter Tripp 2024-09-16 23:16:08 -04:00 committed by GitHub
parent a141415bd3
commit 83192c29e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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));