mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
clippy fixes
This commit is contained in:
parent
f1608357ad
commit
11c7fb507f
13 changed files with 42 additions and 54 deletions
|
|
@ -22,7 +22,7 @@ fn test_message_types(input_file: &str, snapshot_file: &str) {
|
|||
let file = fs::read(input_file).expect("Unable to read file");
|
||||
let demo = Demo::new(file);
|
||||
let (_, message_types) =
|
||||
DemoParser::parse_with_analyser(demo.get_stream(), MessageTypeAnalyser::new()).unwrap();
|
||||
DemoParser::parse_with_analyser(demo.get_stream(), MessageTypeAnalyser::default()).unwrap();
|
||||
|
||||
let expected: Vec<MessageType> = serde_json::from_slice(
|
||||
fs::read(snapshot_file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue