Skip to content

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

test(cron_agents): collapse upsert call onto one line

Steven Enamakel4701075373ee
diff --git a/crates/openhuman-embed/tests/cron_agents.rs b/crates/openhuman-embed/tests/cron_agents.rs
index e30ebbd8f0..9d366d26f7 100644
--- a/crates/openhuman-embed/tests/cron_agents.rs
+++ b/crates/openhuman-embed/tests/cron_agents.rs
@@ -152,9 +152,7 @@ fn a_scheduled_job_runs_a_runtime_agent_with_its_host_tool_as_cron() {
assert!(again.single_flight);
assert_eq!(cron.list().unwrap().len(), 1);
let changed = cron
- .upsert(
- JobSpec::agent("teeny-hourly", "teeny", "check in", HOURLY),
- )
+ .upsert(JobSpec::agent("teeny-hourly", "teeny", "check in", HOURLY))
.expect("job updated");
assert_eq!(changed.id, first.id, "same job, updated in place");
assert_eq!(