Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Zhang <[email protected]>
  • Loading branch information
zwpaper committed Dec 17, 2024
1 parent c0af632 commit 3059e59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ee/tabby-webserver/src/service/answer/testutils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ impl CodeSearch for FakeCodeSearch {
file_id: "1".to_string(),
chunk_id: "chunk1".to_string(),
git_url: "https://github.com/test/repo".to_string(),
commit: Some("commit".to_string()),
},
scores: CodeSearchScores {
bm25: 0.8,
Expand All @@ -164,6 +165,7 @@ impl CodeSearch for FakeCodeSearch {
file_id: "2".to_string(),
chunk_id: "chunk2".to_string(),
git_url: "https://github.com/test/repo".to_string(),
commit: Some("commit".to_string()),
},
scores: CodeSearchScores {
bm25: 0.7,
Expand Down

0 comments on commit 3059e59

Please sign in to comment.