Skip to content

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

test(cron): fix lifetime syntax in force next run helper

Steven Enamakel953bdb4ef796
diff --git a/crates/openhuman-core/src/cron/store_tests.rs b/crates/openhuman-core/src/cron/store_tests.rs
index ea647f997b..e2c193ae92 100644
--- a/crates/openhuman-core/src/cron/store_tests.rs
+++ b/crates/openhuman-core/src/cron/store_tests.rs
@@ -238,7 +238,10 @@ fn a_patch_over_the_bus_keeps_the_agent_definition_it_does_not_mention() {
);
}
-fn assert_force_next_run_updates_collection(collection: 'static str, other_collection: 'static str) {
+fn assert_force_next_run_updates_collection(
+ collection: &'static str,
+ other_collection: &'static str,
+) {
use serde_json::json;
use tinystoragedrivers::{CollectionSpec, Precondition};