The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(memory): tidy assertions and formatting in memory tests
Steven Enamakela4ed21f622fd
diff --git a/crates/openhuman-core/src/memory/brain_tests.rs b/crates/openhuman-core/src/memory/brain_tests.rsindex 2272108417..4c107c346e 100644--- a/crates/openhuman-core/src/memory/brain_tests.rs+++ b/crates/openhuman-core/src/memory/brain_tests.rs@@ -364,11 +364,7 @@ async fn ingest_refuses_a_credential_store_a_system_root_traversal_and_null_bytelet engine = bind_reference(&config);let ssh = tmp.path().join(".ssh");std::fs::create_dir_all(&ssh).unwrap();- std::fs::write(- ssh.join("id_ed25519"),- "fixture: not a real key",- )- .unwrap();+ std::fs::write(ssh.join("id_ed25519"), "fixture: not a real key").unwrap();let notes = tmp.path().join("notes");std::fs::create_dir_all(¬es).unwrap();std::fs::write(tmp.path().join("guide.md"), "# Guide").unwrap();diff --git a/crates/openhuman-core/src/memory/confine_tests.rs b/crates/openhuman-core/src/memory/confine_tests.rsindex 5e38d79556..857d9f6817 100644--- a/crates/openhuman-core/src/memory/confine_tests.rs+++ b/crates/openhuman-core/src/memory/confine_tests.rs@@ -99,7 +99,7 @@ async fn list_fetch_and_recall_never_read_another_root() {let listed = items_list(&config, ItemsListParams::default()).await.unwrap();- assert_eq!(ids(&listed.items), [mine.clone()]);+ assert_eq!(ids(&listed.items), std::slice::from_ref(&mine));let page = fetch(&config,@@ -246,7 +246,7 @@ async fn items_get_and_forget_leave_another_roots_items_alone() {).await.unwrap();- assert_eq!(ids(&read.items), [mine.clone()]);+ assert_eq!(ids(&read.items), std::slice::from_ref(&mine));let error = items_get(&config,