Macro tor_rtcompat::test_with_all_runtimes
source · macro_rules! test_with_all_runtimes { ( $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 every supported runtime.
(This is a macro so that it can repeat the closure as multiple separate expressions, so it can take on two different types, if needed.)