fix(p10-1a-1): patch missed SearchHit test-only construction sites

Add repo: None, code_lang: None to the 3 SearchHit struct literals
inside #[cfg(test)] blocks that were missed by the fa4eeb5 sweep.
This commit is contained in:
th-kim0823
2026-05-15 15:17:10 +09:00
parent fa4eeb5a87
commit 7329ba96ee
3 changed files with 6 additions and 0 deletions

View File

@@ -1170,6 +1170,8 @@ mod stream_event_serde_tests {
indexed_at: datetime!(2026-05-09 12:00:00 UTC),
stale: false,
score_kind: kebab_core::ScoreKind::Rrf,
repo: None,
code_lang: None,
}
}

View File

@@ -171,6 +171,8 @@ pub fn mk_hit_with_indexed_at(
indexed_at,
stale: false,
score_kind: kebab_core::ScoreKind::Rrf,
repo: None,
code_lang: None,
}
}

View File

@@ -56,6 +56,8 @@ fn make_hit(rank: u32, path: &str, snippet: &str, citation: Citation) -> SearchH
indexed_at: time::OffsetDateTime::UNIX_EPOCH,
stale: false,
score_kind: kebab_core::ScoreKind::Rrf,
repo: None,
code_lang: None,
}
}