Skip to content

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

test(storage): remove redundant clone in e2e flow test

Steven Enamakel1c6b3f2ad2cd
diff --git a/tests/storage_flows_e2e.rs b/tests/storage_flows_e2e.rs
index 835ed408d9..a80ba02bb6 100644
--- a/tests/storage_flows_e2e.rs
+++ b/tests/storage_flows_e2e.rs
@@ -90,7 +90,7 @@ async fn a_configured_backend_holds_cron_flows_and_flow_state(case: Case) {
retries: Some(0),
single_flight: true,
};
- policy::set_policy(&policy_config, "job-1", wanted.clone()).unwrap();
+ policy::set_policy(&policy_config, "job-1", wanted).unwrap();
assert_eq!(policy::get_policy(&policy_config, "job-1").unwrap(), wanted);
policy::clear_policy(&policy_config, "job-1").unwrap();
assert_eq!(