Macro tor_rtcompat::test_with_one_runtime
source · macro_rules! test_with_one_runtime { ( $fn:expr ) => { ... }; }
Available on (crate features
native-tls
or rustls
) and (crate features tokio
or async-std
) only.Expand description
Run a test closure, passing as argument one supported runtime.
(Always prefers tokio if present.)