fix clippy warnings

This commit is contained in:
mpostma
2021-03-15 16:52:05 +01:00
parent 01479dcf99
commit abbea59732
17 changed files with 124 additions and 131 deletions

View File

@ -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);
}

View File

@ -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]

View File

@ -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]