add insta::json for later

This commit is contained in:
Irevoire 2022-09-21 13:29:38 +02:00 committed by Clément Renault
parent 8770e07397
commit 8f0fd35358
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4
3 changed files with 3 additions and 1 deletions

1
Cargo.lock generated
View File

@ -1833,6 +1833,7 @@ dependencies = [
"console",
"lazy_static",
"linked-hash-map",
"serde",
"similar",
"yaml-rust",
]

View File

@ -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"

View File

@ -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};