mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-29 00:25:28 +08:00
add insta::json for later
This commit is contained in:
parent
8770e07397
commit
8f0fd35358
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -1833,6 +1833,7 @@ dependencies = [
|
|||||||
"console",
|
"console",
|
||||||
"lazy_static",
|
"lazy_static",
|
||||||
"linked-hash-map",
|
"linked-hash-map",
|
||||||
|
"serde",
|
||||||
"similar",
|
"similar",
|
||||||
"yaml-rust",
|
"yaml-rust",
|
||||||
]
|
]
|
||||||
|
@ -25,5 +25,5 @@ synchronoise = "1.0.1"
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
nelson = { git = "https://github.com/meilisearch/nelson.git", rev = "675f13885548fb415ead8fbb447e9e6d9314000a"}
|
nelson = { git = "https://github.com/meilisearch/nelson.git", rev = "675f13885548fb415ead8fbb447e9e6d9314000a"}
|
||||||
insta = "1.19.1"
|
insta = { version = "1.19.1", features = ["json"] }
|
||||||
big_s = "1.0.2"
|
big_s = "1.0.2"
|
||||||
|
@ -284,6 +284,7 @@ impl IndexScheduler {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use big_s::S;
|
use big_s::S;
|
||||||
|
use insta::*;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
use crate::{assert_smol_debug_snapshot, tests::index_scheduler};
|
use crate::{assert_smol_debug_snapshot, tests::index_scheduler};
|
||||||
|
Loading…
Reference in New Issue
Block a user