Skip to content

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

test(flows): update sweep warning assertions

Steven Enamakeldca961208599
diff --git a/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs b/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs
index d809724798..e4ee776eef 100644
--- a/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_builder_trail_off_tests.rs
@@ -545,11 +545,11 @@ async fn boot_sweep_handles_schema_init_failure_gracefully() {
let warning = String::from_utf8(capture.0.lock().unwrap().clone()).unwrap();
assert!(
- warning.contains("create the directory"),
+ warning.contains("create the storage directory"),
"the sweep warning must preserve the operation context, got {warning:?}"
);
assert!(
- warning.contains(&file_path.join("flows").display().to_string()),
+ warning.contains(&file_path.display().to_string()),
"the sweep warning must preserve the filesystem root cause, got {warning:?}"
);
}