test(config): make schema export test async

This commit is contained in:
Chummy 2026-02-19 20:35:41 +08:00
parent c57f3f51a0
commit e9c280324f

View file

@ -3275,7 +3275,7 @@ mod tests {
} }
#[test] #[test]
fn config_schema_export_contains_expected_contract_shape() { async fn config_schema_export_contains_expected_contract_shape() {
let schema = schemars::schema_for!(Config); let schema = schemars::schema_for!(Config);
let schema_json = serde_json::to_value(&schema).expect("schema should serialize to json"); let schema_json = serde_json::to_value(&schema).expect("schema should serialize to json");