ensure all examples are also run during testing

This commit is contained in:
Benjamin Fry
2023-06-02 10:01:36 -07:00
parent 2065cea7f7
commit 0ed43b7da5
6 changed files with 33 additions and 1 deletions

View File

@@ -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()
}