Fix the missing label style in the mention truncation test (#61762)

Initialize the file result with `ThreadLabelStyle::Plain` in
`fuzzy_matches_preserve_graphemes_when_truncated` so the test supplies the
required `SearchResult` field.

GitOrigin-RevId: c1dbfc3b4d094511b2f480020d8365813f2d89d5
This commit is contained in:
tongzhou wang
2026-11-16 06:49:48 +00:00
committed by copyberry
parent 710bee73a8
commit 0184dfa6a4
@@ -176,6 +176,7 @@ fn fuzzy_matches_preserve_graphemes_when_truncated() {
display_name: path.to_string(),
description: None,
mention_type: MentionType::File,
label_style: ThreadLabelStyle::Plain,
selection: Selection::File(path.into()),
match_indices: Some(vec![0, 1]),
score: 0,