crypto: Use Default to create some test data

master
Damir Jelić 2021-03-01 19:41:39 +01:00
parent 5c0f0140e9
commit 9893ddba74
1 changed files with 2 additions and 2 deletions

View File

@ -1345,7 +1345,7 @@ mod test {
*method = AcceptMethod::Custom(CustomContent {
method: "m.sas.custom".to_string(),
data: vec![].into_iter().collect(),
data: Default::default(),
});
alice
@ -1394,7 +1394,7 @@ mod test {
*method = StartMethod::Custom(CustomStartContent {
method: "m.sas.custom".to_string(),
data: vec![].into_iter().collect(),
data: Default::default(),
});
SasState::<Started>::from_start_event(bob.clone(), alice_device, None, start_content)