mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-10 20:41:59 +00:00
Fix Go tests failing on main (#7285)
Follow-up to #7276 in which I broke tests. Release Notes: - N/A
This commit is contained in:
parent
998f6cf80d
commit
ec9f44727e
1 changed files with 1 additions and 2 deletions
|
@ -398,7 +398,6 @@ mod tests {
|
|||
let highlight_type = grammar.highlight_id_for_name("type").unwrap();
|
||||
let highlight_keyword = grammar.highlight_id_for_name("keyword").unwrap();
|
||||
let highlight_number = grammar.highlight_id_for_name("number").unwrap();
|
||||
let highlight_field = grammar.highlight_id_for_name("property").unwrap();
|
||||
|
||||
assert_eq!(
|
||||
language
|
||||
|
@ -454,7 +453,7 @@ mod tests {
|
|||
Some(CodeLabel {
|
||||
text: "two.Three a.Bcd".to_string(),
|
||||
filter_range: 0..9,
|
||||
runs: vec![(4..9, highlight_field), (12..15, highlight_type)],
|
||||
runs: vec![(12..15, highlight_type)],
|
||||
})
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue