mirror of
https://github.com/openai/codex.git
synced 2026-11-17 22:10:37 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user