mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
error message
This commit is contained in:
parent
efaea1e4c7
commit
4fcc110a0f
1 changed files with 2 additions and 1 deletions
|
|
@ -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| {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue