mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-31 07:23:15 +08:00
fix clippy error
This commit is contained in:
parent
0991cb0de4
commit
2f257fdc3d
@ -180,7 +180,7 @@ async fn get_and_paginate_indexes() {
|
|||||||
async fn get_invalid_index_uid() {
|
async fn get_invalid_index_uid() {
|
||||||
let server = Server::new_shared();
|
let server = Server::new_shared();
|
||||||
let (response, code) =
|
let (response, code) =
|
||||||
server.create_index_fail(json!({ "uid": "this is not a valid index name" }).into()).await;
|
server.create_index_fail(json!({ "uid": "this is not a valid index name" })).await;
|
||||||
|
|
||||||
snapshot!(code, @"400 Bad Request");
|
snapshot!(code, @"400 Bad Request");
|
||||||
snapshot!(json_string!(response), @r###"
|
snapshot!(json_string!(response), @r###"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user