Skip to content

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

test(profiles): drop needless borrow in registry test

Steven Enamakel0afd9465b251
diff --git a/crates/openhuman-core/src/profiles/registry_tests.rs b/crates/openhuman-core/src/profiles/registry_tests.rs
index da2aba1691..6efc244308 100644
--- a/crates/openhuman-core/src/profiles/registry_tests.rs
+++ b/crates/openhuman-core/src/profiles/registry_tests.rs
@@ -50,7 +50,7 @@ async fn the_shared_registry_records_lists_and_forgets() {
async fn the_file_registry_keeps_profile_toml_beside_each_profile() {
let tmp = tempfile::tempdir().unwrap();
for id in ["alice", "bob"] {
- let layout = ProfileLayout::new(tmp.path(), &ProfileId::parse(id).unwrap());
+ let layout = ProfileLayout::new(tmp.path(), ProfileId::parse(id).unwrap());
std::fs::create_dir_all(&layout.dir).unwrap();
}
let registry = ProfileRegistry::files(tmp.path());