ensure all examples are also run during testing
This commit is contained in:
@@ -97,3 +97,8 @@ async fn resolve_list<P: trust_dns_resolver::name_server::RuntimeProvider>(
|
||||
fn main() {
|
||||
println!("tokio-runtime feature must be enabled")
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_flush_cache() {
|
||||
main()
|
||||
}
|
||||
|
Reference in New Issue
Block a user