()
| 45 | #[cfg(all(feature = "geoip-cn", not(feature = "geoip-maxmind")))] |
| 46 | #[tokio::test] |
| 47 | async fn check_example_cn() { |
| 48 | assert_eq!( |
| 49 | init(serde_yaml::from_str(include_str!("../../configs/example.yaml")).unwrap()) |
| 50 | .await |
| 51 | .is_ok(), |
| 52 | true |
| 53 | ); |
| 54 | } |
| 55 | |
| 56 | #[tokio::test] |
| 57 | async fn check_success_query_cache_mode() { |
nothing calls this directly
no outgoing calls
no test coverage detected