mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 10:14:06 +02:00
more tests
This commit is contained in:
parent
f0bb2af3ca
commit
431d91ad9a
2 changed files with 2 additions and 2 deletions
|
|
@ -560,7 +560,7 @@ fn test_packet_entitier_message_roundtrip() {
|
|||
value: SendPropValue::Integer(4),
|
||||
},
|
||||
SendProp {
|
||||
index: 3,
|
||||
index: 2,
|
||||
identifier: SendPropIdentifier::new("table2", "prop3"),
|
||||
value: SendPropValue::Float(1.0),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ impl EntityDump {
|
|||
.props
|
||||
.into_iter()
|
||||
.map(|prop| {
|
||||
let (table_name, prop_name) = &prop_names[&prop.index];
|
||||
let (table_name, prop_name) = &prop_names[&prop.identifier];
|
||||
(format!("{}.{}", table_name, prop_name), prop.value)
|
||||
})
|
||||
.collect(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue