updating format to align with fmt

This commit is contained in:
stillbeingnick 2023-07-28 14:19:32 -07:00
parent 694ae1ee85
commit 7048d380c6

View file

@ -238,7 +238,7 @@ impl_api_error! {
/// [`DeleteMessage`]: crate::payloads::DeleteMessage /// [`DeleteMessage`]: crate::payloads::DeleteMessage
MessageCantBeDeleted = "Bad Request: message can't be deleted", MessageCantBeDeleted = "Bad Request: message can't be deleted",
/// Occurs when a bot tries to delete a message created by the bot /// Occurs when a bot tries to delete a message created by the bot
/// in a group they belong to but have no rights to delete the message /// in a group they belong to but have no rights to delete the message
/// for all in the group. /// for all in the group.
/// ///
@ -882,7 +882,6 @@ mod tests {
ApiError::PollQuestionMustBeNonEmpty, ApiError::PollQuestionMustBeNonEmpty,
), ),
( (
"{\"data\": \"Bad Request: poll options length must not exceed 100\"}", "{\"data\": \"Bad Request: poll options length must not exceed 100\"}",
ApiError::PollOptionsLengthTooLong, ApiError::PollOptionsLengthTooLong,
), ),