mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Format fixes after running: cargo +nightly fmt
This commit is contained in:
parent
d7cb319217
commit
98e3ecb86b
21 changed files with 208 additions and 189 deletions
|
@ -55,7 +55,7 @@ async fn no_index_return_empty_list() {
|
|||
async fn list_multiple_indexes() {
|
||||
let server = Server::new().await;
|
||||
server.index("test").create(None).await;
|
||||
let (task,_status_code) = server.index("test1").create(Some("key")).await;
|
||||
let (task, _status_code) = server.index("test1").create(Some("key")).await;
|
||||
|
||||
server.index("test").wait_task(task.uid()).await.succeeded();
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ async fn update_primary_key() {
|
|||
|
||||
assert_eq!(code, 202);
|
||||
|
||||
let (task,_status_code) = index.update(Some("primary")).await;
|
||||
let (task, _status_code) = index.update(Some("primary")).await;
|
||||
|
||||
let response = index.wait_task(task.uid()).await;
|
||||
|
||||
|
@ -46,7 +46,7 @@ async fn create_and_update_with_different_encoding() {
|
|||
assert_eq!(code, 202);
|
||||
|
||||
let index = server.index_with_encoder("test", Encoder::Brotli);
|
||||
let (task,_status_code) = index.update(Some("primary")).await;
|
||||
let (task, _status_code) = index.update(Some("primary")).await;
|
||||
|
||||
let response = index.wait_task(task.uid()).await;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue