Skip to content

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

test(ops_tests): reformat chained iterator call for readability

Steven Enamakelf149902ad295
diff --git a/crates/openhuman-core/src/commands/ops_tests.rs b/crates/openhuman-core/src/commands/ops_tests.rs
index c958ca53ee..565146af93 100644
--- a/crates/openhuman-core/src/commands/ops_tests.rs
+++ b/crates/openhuman-core/src/commands/ops_tests.rs
@@ -65,7 +65,12 @@ async fn commands_list_always_includes_every_builtin_even_if_catalogs_fail() {
// they do, every builtin is still present and the call itself never
// errors.
let outcome = commands_list().await.expect("commands_list must not fail");
- let ids: Vec<&str> = outcome.value.commands.iter().map(|e| e.id.as_str()).collect();
+ let ids: Vec<&str> = outcome
+ .value
+ .commands
+ .iter()
+ .map(|e| e.id.as_str())
+ .collect();
for expected in ["new", "clear", "plan", "build", "goal", "todo", "stop"] {
assert!(
ids.contains(&expected),