diff --git a/Cargo.lock b/Cargo.lock index 3a6937ced..cb51300ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1833,6 +1833,7 @@ dependencies = [ "console", "lazy_static", "linked-hash-map", + "serde", "similar", "yaml-rust", ] diff --git a/index-scheduler/Cargo.toml b/index-scheduler/Cargo.toml index 10d152f60..baef2e6ca 100644 --- a/index-scheduler/Cargo.toml +++ b/index-scheduler/Cargo.toml @@ -25,5 +25,5 @@ synchronoise = "1.0.1" [dev-dependencies] 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" diff --git a/index-scheduler/src/index_scheduler.rs b/index-scheduler/src/index_scheduler.rs index a332397ff..9c7f7838f 100644 --- a/index-scheduler/src/index_scheduler.rs +++ b/index-scheduler/src/index_scheduler.rs @@ -284,6 +284,7 @@ impl IndexScheduler { #[cfg(test)] mod tests { use big_s::S; + use insta::*; use uuid::Uuid; use crate::{assert_smol_debug_snapshot, tests::index_scheduler};