mirror of
https://codeberg.org/icewind/vdf-reader.git
synced 2026-06-03 10:04:08 +02:00
named snapshots
This commit is contained in:
parent
12d3e35496
commit
2f6fc3e180
4 changed files with 1 additions and 1 deletions
0
examples/dir.rs
Normal file
0
examples/dir.rs
Normal file
|
|
@ -9,5 +9,5 @@ fn test_parse(path: &str) {
|
||||||
let raw = read_to_string(path).unwrap();
|
let raw = read_to_string(path).unwrap();
|
||||||
let mut reader = Reader::from(raw.as_str());
|
let mut reader = Reader::from(raw.as_str());
|
||||||
let parsed = Table::load(&mut reader).expect("failed to parse test data");
|
let parsed = Table::load(&mut reader).expect("failed to parse test data");
|
||||||
insta::assert_ron_snapshot!(parsed);
|
insta::assert_ron_snapshot!(path, parsed);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue