1 2 3 4 5 6
#[tokio::test(flavor = "local")] async fn my_test() { assert!(async { 1 }.await, 1); } fn main() {}