MCPcopy Create free account
hub / github.com/LEXUGE/dcompass / check_example_maxmind

Function check_example_maxmind

dcompass/src/tests.rs:36–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34#[cfg(all(feature = "geoip-maxmind", not(feature = "geoip-cn")))]
35#[tokio::test]
36async 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]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected