Skip to content

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

test(threads): reformat snippet assertion for readability

Steven Enamakelc4e61180516f
diff --git a/crates/openhuman-core/src/threads/ops/search_tests.rs b/crates/openhuman-core/src/threads/ops/search_tests.rs
index ea2c32e434..d3faa34361 100644
--- a/crates/openhuman-core/src/threads/ops/search_tests.rs
+++ b/crates/openhuman-core/src/threads/ops/search_tests.rs
@@ -30,7 +30,10 @@ fn snippet_matches_a_query_with_irregular_whitespace() {
for q in ["needle nearby", "needle\nnearby"] {
let out = snippet(&content, q);
assert!(out.contains("needle nearby"), "{q:?} -> {out}");
- assert!(out.starts_with('…'), "{q:?} should centre on the match: {out}");
+ assert!(
+ out.starts_with('…'),
+ "{q:?} should centre on the match: {out}"
+ );
}
}