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(threads): update attachment assertion in edit tests
Steven Enamakel317719e89650
diff --git a/crates/openhuman-core/src/threads/ops/edit_attachment_tests.rs b/crates/openhuman-core/src/threads/ops/edit_attachment_tests.rsindex 417ab0c8fb..4e9502e673 100644--- a/crates/openhuman-core/src/threads/ops/edit_attachment_tests.rs+++ b/crates/openhuman-core/src/threads/ops/edit_attachment_tests.rs@@ -309,8 +309,14 @@ async fn edit_rpc_rejects_an_attachment_ref_owned_by_another_row_before_truncati.unwrap();let source_after = rows.iter().find(|row| row.id == source.id).unwrap();assert_eq!(source_after.content, "source row");- assert_eq!(source_after.attachments, source.attachments);+ assert_eq!(+ crate::threads::attachments::public_refs(&source_after.extra_metadata),+ source.attachments+ );let other_after = rows.iter().find(|row| row.id == other.id).unwrap();assert_eq!(other_after.content, "other row");- assert_eq!(other_after.attachments, other.attachments);+ assert_eq!(+ crate::threads::attachments::public_refs(&other_after.extra_metadata),+ other.attachments+ );}