mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 08:41:00 +00:00
Format code
This commit is contained in:
@ -22,10 +22,7 @@ pub struct RenderAggregator {
|
|||||||
impl RenderAggregator {
|
impl RenderAggregator {
|
||||||
#[allow(clippy::field_reassign_with_default)]
|
#[allow(clippy::field_reassign_with_default)]
|
||||||
pub fn from_query(query: &RenderQuery) -> Self {
|
pub fn from_query(query: &RenderQuery) -> Self {
|
||||||
let RenderQuery {
|
let RenderQuery { template, input } = query;
|
||||||
template,
|
|
||||||
input,
|
|
||||||
} = query;
|
|
||||||
|
|
||||||
let mut ret = Self::default();
|
let mut ret = Self::default();
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use crate::common::{shared_index_for_fragments, Server};
|
use crate::common::{shared_index_for_fragments, Server};
|
||||||
use crate::json;
|
use crate::json;
|
||||||
use meili_snap::{snapshot, json_string};
|
use meili_snap::{json_string, snapshot};
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn empty_id() {
|
async fn empty_id() {
|
||||||
@ -465,7 +465,6 @@ async fn both_document_id_and_inline() {
|
|||||||
"#);
|
"#);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
async fn multiple_templates_or_docs() {
|
async fn multiple_templates_or_docs() {
|
||||||
let index = shared_index_for_fragments().await;
|
let index = shared_index_for_fragments().await;
|
||||||
|
Reference in New Issue
Block a user