Update changelog and comment the PR link in the test

This commit is contained in:
Sprite 2021-12-16 00:41:04 +08:00
parent 06a21ba9e1
commit 234ac365db
2 changed files with 3 additions and 0 deletions

View file

@ -52,12 +52,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Make `SendPoll::poll_` optional ([#133][pr133])
- Bug with `caption_entities`, see issue [#473][issue473]
- Type of response for `CopyMessage` method ([#141](pr141), [#142](pr142))
- Bad request serialization when the `language` field of `MessageEntityKind::Pre` is `None` ([#145](pr145))
[pr119]: https://github.com/teloxide/teloxide-core/pull/119
[pr133]: https://github.com/teloxide/teloxide-core/pull/133
[pr141]: https://github.com/teloxide/teloxide-core/pull/141
[pr142]: https://github.com/teloxide/teloxide-core/pull/142
[pr143]: https://github.com/teloxide/teloxide-core/pull/143
[pr145]: https://github.com/teloxide/teloxide-core/pull/145
[issue473]: https://github.com/teloxide/teloxide/issues/473
[issue427]: https://github.com/teloxide/teloxide/issues/427

View file

@ -106,6 +106,7 @@ mod tests {
);
}
// https://github.com/teloxide/teloxide-core/pull/145
#[test]
fn pre_with_none_language() {
use serde_json::to_string;