fix tests

This commit is contained in:
2020-01-07 00:46:12 +08:00
parent 86deb61ba0
commit 24e0c968ee
3 changed files with 8 additions and 1 deletions

View File

@@ -497,7 +497,7 @@ fn calc_hmac_sha256(key: &[u8], message: &[u8]) -> MacResult {
#[test]
fn run_all_tests() {
futures::executor::block_on(_test_send()).unwrap();
tokio_test::block_on(_test_send()).unwrap();
}
async fn _test_send() -> XResult<()> {