mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
Fix test core::types::input_message_content::tests::venue_serialize
This commit is contained in:
parent
f96f9a3a2b
commit
feee762d78
1 changed files with 1 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue