Fix test core::types::input_message_content::tests::venue_serialize

This commit is contained in:
Waffle 2019-09-19 00:55:46 +03:00
parent f96f9a3a2b
commit feee762d78

View file

@ -108,8 +108,7 @@ mod tests {
#[test] #[test]
fn venue_serialize() { fn venue_serialize() {
let expected_json = r#"{"latitude":59.08,"longitude":38.4326,"title":"some title", let expected_json = r#"{"latitude":59.08,"longitude":38.4326,"title":"some title","address":"some address"}"#;
"address":"some address"}"#;
let venue_content = InputMessageContent::Venue { let venue_content = InputMessageContent::Venue {
latitude: 59.08, latitude: 59.08,
longitude: 38.4326, longitude: 38.4326,