mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
borrowed data
This commit is contained in:
parent
fed1da5cb0
commit
a4ddd586dd
27 changed files with 181 additions and 176 deletions
|
|
@ -35,7 +35,7 @@ impl MessageHandler for SendPropAnalyser {
|
|||
#[test_case("data/gully.dem", "data/gully_props.json"; "gully.dem")]
|
||||
fn flatten_test(input_file: &str, snapshot_file: &str) {
|
||||
let file = fs::read(input_file).expect("Unable to read file");
|
||||
let demo = Demo::new(file);
|
||||
let demo = Demo::new(&file);
|
||||
let (_, send_tables) =
|
||||
DemoParser::new_with_analyser(demo.get_stream(), SendPropAnalyser::new())
|
||||
.parse()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue