#[async_test]
Enables this test to be run in an async fn.
async fn
Requires that the test return Result with the error type implementing Display.
Result
Display
#[async_test] async fn my_test() -> std::io::Result<()> { assert_eq!(2 * 2, 4); Ok(()) }