1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 18:24:05 +02:00

error message

This commit is contained in:
Robin Appelman 2019-10-05 11:56:59 +02:00
commit 4fcc110a0f

View file

@ -43,7 +43,8 @@ fn flatten_test(input_file: &str, snapshot_file: &str) {
let file = fs::read(input_file).expect("Unable to read file"); let file = fs::read(input_file).expect("Unable to read file");
let demo = Demo::new(file); let demo = Demo::new(file);
let (_, send_tables) = let (_, send_tables) =
DemoParser::parse_with_analyser(demo.get_stream(), SendPropAnalyser::new()).unwrap(); DemoParser::parse_with_analyser(demo.get_stream(), SendPropAnalyser::new())
.expect("Failed to parse");
let flat_props: HashMap<SendTableName, Vec<String>> = send_tables let flat_props: HashMap<SendTableName, Vec<String>> = send_tables
.iter() .iter()
.map(|table| { .map(|table| {