mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Fix test
This commit is contained in:
parent
1ae7544578
commit
c34a1386df
1 changed files with 2 additions and 2 deletions
|
@ -1222,6 +1222,7 @@ mod tests {
|
|||
"emoji": "😡",
|
||||
"set_name": "AdvenTimeAnim",
|
||||
"is_animated": true,
|
||||
"is_video": false,
|
||||
"thumb": {
|
||||
"file_id": "AAQCAAMjAAOw0PgMaabKAcaXKCBLubkPAAQBAAdtAAPGKwACFgQ",
|
||||
"file_unique_id":"",
|
||||
|
@ -1234,8 +1235,7 @@ mod tests {
|
|||
"file_size": 16639
|
||||
}
|
||||
}"#;
|
||||
let message = from_str::<Message>(json);
|
||||
assert!(message.is_ok());
|
||||
from_str::<Message>(json).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Reference in a new issue