Fix "no test in tokio"

This commit is contained in:
Андрей Власов 2022-01-02 18:33:15 +03:00
parent 5ccbf8b7b0
commit 93690a3417

View file

@ -31,6 +31,7 @@ pub(crate) fn to_form<T: ?Sized + Serialize>(val: &T) -> impl Future<Output = Re
}
// https://github.com/teloxide/teloxide/issues/473
#[cfg(test)]
#[tokio::test]
async fn issue_473() {
use crate::{