From a7c9e898721689db88e95e960cd79e4daacf80b8 Mon Sep 17 00:00:00 2001 From: Xavier Vello Date: Tue, 23 May 2023 15:35:17 +0100 Subject: [PATCH] unmarshall expected messages in json::Value --- tests/django_compat.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/django_compat.rs b/tests/django_compat.rs index 0b76999..83f21c8 100644 --- a/tests/django_compat.rs +++ b/tests/django_compat.rs @@ -13,7 +13,7 @@ use std::fs::File; use std::io::{BufRead, BufReader}; use std::sync::{Arc, Mutex}; use assert_json_diff::assert_json_eq; -use serde_json::json; +use serde_json::{json, Value}; #[derive(Debug, Deserialize)] struct RequestDump { @@ -24,7 +24,7 @@ struct RequestDump { ip: String, now: String, body: String, - output: Vec, + output: Vec, } static REQUESTS_DUMP_FILE_NAME: &str = "tests/requests_dump.jsonl";