Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
unmarshall expected messages in json::Value
Browse files Browse the repository at this point in the history
  • Loading branch information
xvello committed Sep 6, 2023
1 parent d7cbe17 commit a7c9e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/django_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -24,7 +24,7 @@ struct RequestDump {
ip: String,
now: String,
body: String,
output: Vec<ProcessedEvent>,
output: Vec<Value>,
}

static REQUESTS_DUMP_FILE_NAME: &str = "tests/requests_dump.jsonl";
Expand Down

0 comments on commit a7c9e89

Please sign in to comment.