mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 10:04:12 +02:00
initial matching
This commit is contained in:
parent
73e9c08413
commit
246b4552f9
31 changed files with 87489 additions and 43394 deletions
|
|
@ -5,7 +5,7 @@ use test_case::test_case;
|
|||
fn snapshot_test(name: &str) {
|
||||
let root = format!("test-data/{name}");
|
||||
let mut output = Vec::<u8>::with_capacity(1024 * 1024);
|
||||
extract_dir(&root, &mut output).unwrap();
|
||||
extract_dir(&root, &mut output, false).unwrap();
|
||||
let output: Vec<LoggingStatement> = serde_json::from_slice(&output).unwrap();
|
||||
|
||||
insta::assert_json_snapshot!(output)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue