Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

fmt(runner): cargo fmt on the truncation fix (CI deny-warnings)

xerj-orgc96f0ac3840a
diff --git a/engine/tests/es-compat-yaml/src/main.rs b/engine/tests/es-compat-yaml/src/main.rs
index 1a6daf7d4..f2c6c62a8 100644
--- a/engine/tests/es-compat-yaml/src/main.rs
+++ b/engine/tests/es-compat-yaml/src/main.rs
@@ -790,7 +790,13 @@ fn execute_do(
while !resp_text.is_char_boundary(cut) {
cut -= 1;
}
- return Err(format!("{} {} → {} {}", method, path, status, &resp_text[..cut]));
+ return Err(format!(
+ "{} {} → {} {}",
+ method,
+ path,
+ status,
+ &resp_text[..cut]
+ ));
}
}