Skip to content

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

Fix immutable expected text type in native redaction test

Ezra Ellette1f860092e86f
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/feedback_redact.rs b/apps/screenpipe-app-tauri/src-tauri/src/feedback_redact.rs
index 67a6908c3..6687616e9 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/feedback_redact.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/feedback_redact.rs
@@ -637,7 +637,7 @@ mod workflow_contribution_tests {
}
#[tokio::test]
async fn full_redaction_output_is_not_rejected_by_the_old_eight_kilobyte_gate() {
- let output = Box::leak("[REDACTED]".repeat(1000).into_boxed_str());
+ let output: &'static str = Box::leak("[REDACTED]".repeat(1000).into_boxed_str());
let result = strict_workflow_redaction(
&FakeRedactor(output),
"Full workflow",