We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c23a1ce commit 7b70a50Copy full SHA for 7b70a50
tests/test_search.rs
@@ -251,10 +251,9 @@ fn test_unranked_search() {
251
assert_eq!(result_err.unwrap_err(), SearchError::InvalidThreshold(-0.5));
252
}
253
254
-
255
/*
256
MockDatabase is a wrapper around HashDb that implements the Database trait.
257
-It is used to test the Searcher with a database that returns None for get_string/get_features.
+It is used to test the Searcher with a database that returns None for get_string/get_features.
258
*/
259
struct MockDatabase {
260
real_db: HashDb,
@@ -495,4 +494,4 @@ fn test_search_candidates_empty_query() {
495
494
results.is_empty(),
496
"Search with empty query features should return empty results"
497
);
498
-}
+}
0 commit comments