mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-22 20:50:04 +01:00
use meili-snap in the dump
This commit is contained in:
parent
866a3676eb
commit
6aa816d96a
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -1107,7 +1107,6 @@ dependencies = [
|
||||
"big_s",
|
||||
"flate2",
|
||||
"http",
|
||||
"insta",
|
||||
"log",
|
||||
"maplit",
|
||||
"meili-snap",
|
||||
|
@ -23,7 +23,6 @@ uuid = { version = "1.1.2", features = ["serde", "v4"] }
|
||||
|
||||
[dev-dependencies]
|
||||
big_s = "1.0.2"
|
||||
insta = { version = "1.19.1", features = ["json", "redactions"] }
|
||||
maplit = "1.0.2"
|
||||
meili-snap = { path = "../meili-snap" }
|
||||
meilisearch-types = { path = "../meilisearch-types" }
|
||||
|
@ -375,6 +375,7 @@ pub(crate) mod test {
|
||||
use std::io::BufReader;
|
||||
|
||||
use flate2::bufread::GzDecoder;
|
||||
use meili_snap::insta;
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
|
@ -341,6 +341,7 @@ pub(crate) mod test {
|
||||
use std::io::BufReader;
|
||||
|
||||
use flate2::bufread::GzDecoder;
|
||||
use meili_snap::insta;
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
|
@ -377,6 +377,7 @@ pub(crate) mod test {
|
||||
use std::io::BufReader;
|
||||
|
||||
use flate2::bufread::GzDecoder;
|
||||
use meili_snap::insta;
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
|
@ -395,6 +395,7 @@ pub(crate) mod test {
|
||||
use std::io::BufReader;
|
||||
|
||||
use flate2::bufread::GzDecoder;
|
||||
use meili_snap::insta;
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
|
@ -184,6 +184,8 @@ impl From<CompatIndexV5ToV6> for DumpIndexReader {
|
||||
pub(crate) mod test {
|
||||
use std::fs::File;
|
||||
|
||||
use meili_snap::insta;
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
|
@ -205,6 +205,7 @@ pub(crate) mod test {
|
||||
use std::io::BufReader;
|
||||
|
||||
use flate2::bufread::GzDecoder;
|
||||
use meili_snap::insta;
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
|
@ -221,6 +221,7 @@ pub(crate) mod test {
|
||||
use std::io::BufReader;
|
||||
|
||||
use flate2::bufread::GzDecoder;
|
||||
use meili_snap::insta;
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
|
@ -213,6 +213,7 @@ pub(crate) mod test {
|
||||
use std::io::BufReader;
|
||||
|
||||
use flate2::bufread::GzDecoder;
|
||||
use meili_snap::insta;
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
|
@ -255,6 +255,7 @@ pub(crate) mod test {
|
||||
use std::io::BufReader;
|
||||
|
||||
use flate2::bufread::GzDecoder;
|
||||
use meili_snap::insta;
|
||||
use tempfile::TempDir;
|
||||
|
||||
use super::*;
|
||||
|
@ -191,6 +191,7 @@ pub(crate) mod test {
|
||||
use std::str::FromStr;
|
||||
|
||||
use flate2::bufread::GzDecoder;
|
||||
use meili_snap::insta;
|
||||
use meilisearch_types::settings::Unchecked;
|
||||
|
||||
use super::*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user