ensure all examples are also run during testing
This commit is contained in:
@@ -64,3 +64,8 @@ fn main() {
|
||||
fn main() {
|
||||
println!("tokio-runtime feature must be enabled")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_multithreaded_runtime() {
|
||||
main()
|
||||
}
|
||||
|
Reference in New Issue
Block a user