mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
fix clippy warnings
This commit is contained in:
parent
01479dcf99
commit
abbea59732
17 changed files with 124 additions and 131 deletions
|
@ -69,5 +69,5 @@ async fn test_create_multiple_indexes() {
|
|||
assert_eq!(index1.get().await.1, 200);
|
||||
assert_eq!(index2.get().await.1, 200);
|
||||
assert_eq!(index3.get().await.1, 200);
|
||||
assert_eq!(index4.get().await.1, 404);
|
||||
assert_eq!(index4.get().await.1, 400);
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ async fn create_and_delete_index() {
|
|||
|
||||
assert_eq!(code, 200);
|
||||
|
||||
assert_eq!(index.get().await.1, 404);
|
||||
assert_eq!(index.get().await.1, 400);
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
|
|
@ -29,7 +29,7 @@ async fn get_unexisting_index() {
|
|||
|
||||
let (_response, code) = index.get().await;
|
||||
|
||||
assert_eq!(code, 404);
|
||||
assert_eq!(code, 400);
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue