fix: add "1 video" tokens to dict
This commit is contained in:
parent
29ad2f99d4
commit
c3f82f765b
5 changed files with 26 additions and 9 deletions
|
|
@ -1108,7 +1108,8 @@ fn search_empty(rp: RustyPipe) {
|
|||
fn search_suggestion(rp: RustyPipe) {
|
||||
let result = tokio_test::block_on(rp.query().search_suggestion("hunger ga")).unwrap();
|
||||
|
||||
assert!(result.contains(&"hunger games".to_owned()));
|
||||
assert!(result.iter().any(|s| s.starts_with("hunger games ")));
|
||||
assert_gte(result.len(), 10, "search suggestions");
|
||||
}
|
||||
|
||||
#[rstest]
|
||||
|
|
|
|||
Reference in a new issue