YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
chore(fmt): apply rustfmt to redact worker_integration test
Louis Beaumont2f85ca6ffd98
diff --git a/crates/screenpipe-redact/tests/worker_integration.rs b/crates/screenpipe-redact/tests/worker_integration.rsindex 2815ccc16..a2dcc591d 100644--- a/crates/screenpipe-redact/tests/worker_integration.rs+++ b/crates/screenpipe-redact/tests/worker_integration.rs@@ -144,7 +144,11 @@ async fn worker_redacts_all_five_targets() {);let red: String = rows[0].get(0);let when: i64 = rows[0].get(1);- assert!(when > 0, "{}: redacted_at should be stamped", target.label());+ assert!(+ when > 0,+ "{}: redacted_at should be stamped",+ target.label()+ );assert!(red.contains("[EMAIL]") || red.contains("[SECRET]"),"{}: source column {:?} doesn't contain a placeholder — destructive overwrite did not happen",@@ -163,12 +167,10 @@ async fn worker_redacts_all_five_targets() {async fn worker_skips_already_redacted_rows() {let pool = setup_db().await;// Frame 1 is already processed — source already redacted, redacted_at set.- sqlx::query(- "INSERT INTO ocr_text (frame_id, text, redacted_at) VALUES (1, '[EMAIL]', 1)",- )- .execute(&pool)- .await- .unwrap();+ sqlx::query("INSERT INTO ocr_text (frame_id, text, redacted_at) VALUES (1, '[EMAIL]', 1)")+ .execute(&pool)+ .await+ .unwrap();sqlx::query("INSERT INTO ocr_text (frame_id, text) VALUES (2, '[email protected]')").execute(&pool).await