Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style: format long arrays in schema tests

Steven Enamakeld3cad2ce5dfd
diff --git a/crates/openhuman-core/src/integrations/composio/schemas_tests.rs b/crates/openhuman-core/src/integrations/composio/schemas_tests.rs
index dfb1522684..54987aac80 100644
--- a/crates/openhuman-core/src/integrations/composio/schemas_tests.rs
+++ b/crates/openhuman-core/src/integrations/composio/schemas_tests.rs
@@ -33,7 +33,12 @@ fn composio_schema_contracts_and_registration_are_preserved() {
expect_schema_identity(&schemas(function), "composio", function);
}
let registered = all_registered_controllers();
- for function in ["list_triggers", "enable_trigger", "disable_trigger", "list_trigger_history"] {
+ for function in [
+ "list_triggers",
+ "enable_trigger",
+ "disable_trigger",
+ "list_trigger_history",
+ ] {
assert!(
registered.iter().any(|controller| {
controller.schema.namespace == "composio" && controller.schema.function == function
diff --git a/crates/openhuman-core/src/platform/socket/schemas_tests.rs b/crates/openhuman-core/src/platform/socket/schemas_tests.rs
index 346d3db85c..71955f8a4e 100644
--- a/crates/openhuman-core/src/platform/socket/schemas_tests.rs
+++ b/crates/openhuman-core/src/platform/socket/schemas_tests.rs
@@ -17,7 +17,13 @@ fn socket_schema_contracts_are_preserved() {
.map(|schema| schema.function)
.collect();
assert_eq!(functions.len(), 5);
- for expected in ["connect", "disconnect", "state", "emit", "connect_with_session"] {
+ for expected in [
+ "connect",
+ "disconnect",
+ "state",
+ "emit",
+ "connect_with_session",
+ ] {
assert!(functions.contains(&expected), "missing socket.{expected}");
}
for schema in all_controller_schemas() {