()
| 34 | #[cfg(all(feature = "geoip-maxmind", not(feature = "geoip-cn")))] |
| 35 | #[tokio::test] |
| 36 | async fn check_example_maxmind() { |
| 37 | assert_eq!( |
| 38 | init(serde_yaml::from_str(include_str!("../../configs/example.yaml")).unwrap()) |
| 39 | .await |
| 40 | .is_ok(), |
| 41 | true |
| 42 | ); |
| 43 | } |
| 44 | |
| 45 | #[cfg(all(feature = "geoip-cn", not(feature = "geoip-maxmind")))] |
| 46 | #[tokio::test] |
nothing calls this directly
no outgoing calls
no test coverage detected